woocommerce/tests/framework/helpers
Rodrigo Primo 8b62d5b06e Reduce WC_Tests_Paypal_Gateway_Request::test_request_url() execution time
This commits reduces the execution time of the test WC_Tests_Paypal_Gateway_Request::test_request_url() from about 30s to about 6s (which is still super slow and even after this change this test is still the slowest in our test suite). This test creates several products that are needed to test different scenarios. To make it run faster, the code was changed to create the WC_Product objects without saving them to the database. Just interacting with the objects is enough to this test and skipping the database makes it run much faster. Other tests might benefit from the same technique.
2018-08-27 19:04:50 -03:00
..
class-wc-helper-coupon.php Add unit tests around coupon item limit setting 2018-06-08 14:17:39 -04:00
class-wc-helper-customer.php Fix tests 2017-12-21 19:00:55 +00:00
class-wc-helper-fee.php Cart fee tests 2017-08-22 13:26:55 -07:00
class-wc-helper-order.php Test removing fee_lines from order in REST API 2017-11-21 16:07:03 -02:00
class-wc-helper-payment-token.php Rename class WC_Payment_Token_eCheck to WC_Payment_Token_ECheck 2018-03-07 14:50:21 -03:00
class-wc-helper-product.php Reduce WC_Tests_Paypal_Gateway_Request::test_request_url() execution time 2018-08-27 19:04:50 -03:00
class-wc-helper-settings.php Fixed double @ 2017-03-15 13:46:02 -03:00
class-wc-helper-shipping-zones.php Fixed mixed tabs and spaces 2016-07-11 16:56:35 +02:00
class-wc-helper-shipping.php Fix tests and bootstrap 2017-07-28 17:43:08 +01:00