Commit Graph

18 Commits

Author SHA1 Message Date
Rodrigo Primo 3057ed0bd6 Use WordPress version of phpunit-speed-trap
This commit adds WordPress version of phpunit-speed-trap (https://github.com/WordPress/wordpress-develop/blob/master/tests/phpunit/includes/speed-trap-listener.php). First I tried to add it using composer but for some unknown reason it worked on my local environment but not on Travis (https://travis-ci.org/woocommerce/woocommerce/jobs/377286389#L673). I don't think it is worth spending too much time on this so it seems to me that it is just easy to use WordPress version instead since it works.
2018-05-17 15:04:32 +01:00
Rodrigo Primo fef08f6e16 Revert "Add phpunit-speedtrap"
This reverts commit 5cd7326881.
2018-05-17 14:52:07 +01:00
Rodrigo Primo 5cd7326881 Add phpunit-speedtrap
phpunit-speedtrap (https://github.com/johnkary/phpunit-speedtrap) includes a report of slow-running unit tests to the PHPUnit output and it will help identify WC core tests that need to be changed to run faster.
2018-05-10 10:39:26 -03:00
Claudio Sanches 109e884533 Exclude includes/wc-widget-functions.php 2017-10-05 14:10:17 -03:00
Claudio Sanches e5f7b5ebc2 Updated tests exclusion list 2017-10-05 14:05:38 -03:00
Claudio Sanches 0c423c6ef7 Account function Unit Tests 2017-10-04 16:43:41 -03:00
Mike Jolley 1fa049415b Config 2017-09-27 13:12:10 +01:00
Mike Jolley e81f5e5d88 whitelist 2017-09-26 14:24:49 +01:00
Mike Jolley e9c3ebebdc Merge branch 'master' into feature/discounts-class
# Conflicts:
#	includes/abstracts/abstract-wc-data.php
#	woocommerce.php
2017-08-08 15:49:59 +01:00
Mike Jolley f57c6dc2ee Speed up tests 2017-07-28 11:42:54 +01:00
Claudio Sanches c5055ed2f7 Tidy up Scrutinizer, PHPUnit and Travis config 2017-07-21 14:25:27 -03:00
Jon Surrell 85ed78f438 Add PHPUnit coverage `addUncoveredFilesFromWhitelist="true"` 2017-01-17 10:28:20 +01:00
Jon Surrell ec374770aa Update phpunit.xml to use <whitelist> 2017-01-17 10:06:08 +01:00
Mike Jolley 97819f5a17 Test 2016-08-26 15:53:50 +01:00
Claudio Sanches f204b33fb7 Exclude legacy API from phpunit and scrutinizer 2016-04-19 12:59:13 -03:00
Claudio Sanches f9ff5ba49f Updated phpunit blacklist 2016-03-10 00:06:22 -03:00
Claudio Sanches 3235ba177c Allow phpunit to check php syntax 2016-02-11 17:44:44 -02:00
Max Rice 71def57a7d [#3176] Add unit test boostrap 2014-09-01 02:03:52 -04:00