Bryan Purcell
|
18fe337fac
|
Refactoring the WC_Customer Unit Tests
|
2014-12-09 19:50:31 -06:00 |
Bryan Purcell
|
4af6f1765d
|
Unit Tests for business logic in the WC_Customer class
|
2014-12-09 16:11:31 -06:00 |
Claudio Sanches
|
6841ca81c9
|
Fixed the coupons tests and improved the tax tests
|
2014-12-04 11:44:55 -02:00 |
Mike Jolley
|
eba8206540
|
Merge branch 'tax-coupon-handling' Closes #6830
Conflicts:
assets/js/admin/meta-boxes-order.min.js
includes/api/class-wc-api-coupons.php
includes/class-wc-cart.php
templates/checkout/review-order.php
|
2014-12-03 12:33:15 +00:00 |
Mike Jolley
|
dbcc8430e9
|
Installer tweaks + unit tests closes #6356
|
2014-11-25 17:09:24 +00:00 |
Mike Jolley
|
549d7ab2c0
|
Removed 'apply before tax' options for coupons - this should be the default core behaviour
|
2014-11-24 17:24:25 +00:00 |
Mike Jolley
|
fe6d52b705
|
Final tax class unit tests
Closes #6357
|
2014-11-24 14:57:11 +00:00 |
Mike Jolley
|
a7d4b89c0d
|
test__delete_tax_rate #6357
|
2014-11-24 14:57:11 +00:00 |
Mike Jolley
|
39d8ec7db5
|
My first Unit tests
Part of #6357
|
2014-11-24 13:52:13 +00:00 |
claudiosmweb
|
8eec2f27ad
|
Created some conditional functions tests
|
2014-11-18 14:22:14 -02:00 |
claudiosmweb
|
da43955416
|
Introduces the wc_get_default_location() function
|
2014-11-18 12:56:13 -02:00 |
Barry Kooij
|
5fcc2554cb
|
Unit Tests: Made coupon tests non depend on each other. Added correct cleaning of coupons.
|
2014-11-11 14:29:40 +01:00 |
Barry Kooij
|
3d7108278d
|
Unit Tests: wrote cart test_get_coupons method.
|
2014-11-11 14:28:52 +01:00 |
Marin Atanasov
|
8892b1aeb0
|
fixing a typo in comments in WC_Cart and its tests
|
2014-11-09 17:42:49 +02:00 |
claudiosmweb
|
956f003175
|
Unit Tests: Created initial shipping tests and added shipping value for coupon tests
|
2014-10-30 17:58:19 -02:00 |
claudiosmweb
|
8faf3ec85a
|
Unit Tests: Created test_fixed_product_discount and test_percent_product_discount methods
|
2014-10-30 16:22:14 -02:00 |
claudiosmweb
|
720ef008d7
|
Unit Tests: Created WC_Helper_Fee class and WC_Tests_Cart::test_cart_fee method
|
2014-10-30 16:08:33 -02:00 |
claudiosmweb
|
9dd82ad5a6
|
Unit Tests: Created test_percent_cart_discount method
|
2014-10-30 15:13:42 -02:00 |
claudiosmweb
|
28dc830d28
|
Unit Tests: Created WC_Tests_Coupon class
|
2014-10-30 11:59:53 -02:00 |
claudiosmweb
|
8b0d6ed185
|
Unit Tests: Clear cart notices in test_fixed_cart_discount method
|
2014-10-30 11:37:54 -02:00 |
claudiosmweb
|
c269c52f68
|
Unit Tests: Added test_fixed_cart_discount method
|
2014-10-30 11:29:59 -02:00 |
claudiosmweb
|
d5e10887cf
|
fixed the WC_Tests_Core_Functions::test_get_woocommerce_currencies()
|
2014-10-30 10:47:36 -02:00 |
Barry Kooij
|
5405581ce4
|
Unit Tests: add method test_add_discount_duplicate.
|
2014-10-28 12:25:50 +01:00 |
Barry Kooij
|
4a6b880a41
|
Unit Tests: updated product class doc.
|
2014-10-28 11:53:36 +01:00 |
Barry Kooij
|
db4eb9a2c6
|
Unit Tests: Only check for error notices as methods add success notices.
|
2014-10-28 11:53:22 +01:00 |
Barry Kooij
|
1bfab57e29
|
Unit Tests: Added test_add_discount method.
|
2014-10-28 11:52:44 +01:00 |
Barry Kooij
|
e2df8e9b87
|
Coupon helper.
|
2014-10-28 11:51:46 +01:00 |
Barry Kooij
|
1d4800ee98
|
Unit Tests: test_coupons_enabled, test_ship_to_billing_address_only, test_needs_shipping_address
|
2014-10-27 13:30:50 +01:00 |
claudiosmweb
|
da4e7026a2
|
Fixed coding standards
|
2014-10-24 20:33:30 -02:00 |
Barry Kooij
|
75484c6d43
|
Unit Tests: split cart check methods.
|
2014-10-25 00:27:14 +02:00 |
Barry Kooij
|
4fd09d9c11
|
Unit Tests: skip this test for now.
|
2014-10-25 00:20:05 +02:00 |
Barry Kooij
|
8a104ee642
|
Unit Tests: Added test_get_total and test_get_total_ex_tax methods.
|
2014-10-24 22:34:10 +02:00 |
Barry Kooij
|
fdfabc89f9
|
Unit Tests: added test_check_cart_item_validity method
|
2014-10-24 21:26:38 +02:00 |
Barry Kooij
|
e5d418305d
|
Unit Tests: Added assertIsWPError to WC unit test framework
|
2014-10-24 21:26:26 +02:00 |
Barry Kooij
|
6960138876
|
Unit Tests: force delete on cleanup
|
2014-10-24 21:14:19 +02:00 |
Barry Kooij
|
a4bb50aaa5
|
Unit Tests: added test_get_remove_url
|
2014-10-24 20:56:56 +02:00 |
Barry Kooij
|
4eb50a198b
|
Unit Tests: added test_add_to_cart_sold_individually method
|
2014-10-24 20:36:07 +02:00 |
Barry Kooij
|
aa85f8dcb1
|
Unit Tests: add extra checks to add_to_cart tests.
|
2014-10-24 20:35:49 +02:00 |
Barry Kooij
|
ef3c2e02f0
|
Unit Tests: cart todo's
|
2014-10-24 17:04:21 +02:00 |
Barry Kooij
|
98851c8aa7
|
Unit Tests: test_set_quantity method
|
2014-10-24 17:04:10 +02:00 |
Barry Kooij
|
31e61bbf5c
|
Unit Tests: added test_generate_cart_id method
|
2014-10-24 15:43:26 +02:00 |
Barry Kooij
|
def3e98f04
|
Unit Test: use correct product helper method.
|
2014-10-24 15:37:22 +02:00 |
Barry Kooij
|
ae6a3ef287
|
Unit Tests: Added test_find_product_in_cart method
|
2014-10-24 15:37:09 +02:00 |
Barry Kooij
|
eabb8eb712
|
Unit Tests: product helper codestyle
|
2014-10-24 15:36:29 +02:00 |
Barry Kooij
|
f88fe50ab4
|
Unit Test: Added delete_product helper method.
|
2014-10-24 15:36:13 +02:00 |
Barry Kooij
|
2439ac2c25
|
Unit Tests: Added test_get_cart_url method
|
2014-10-24 15:20:54 +02:00 |
Barry Kooij
|
da45bdac12
|
Unit Testing: Added a product helper class.
|
2014-10-22 00:26:04 +02:00 |
Barry Kooij
|
ac35cac823
|
Unit Testing: Added test_add_to_cart_simple and test_add_to_cart_variable methods.
|
2014-10-22 00:25:52 +02:00 |
Barry Kooij
|
23db5a8c74
|
Start of cart unit tests.
|
2014-10-21 15:09:03 +02:00 |
Barry Kooij
|
19a68ee685
|
Changing the WC_LOG_DIR shouldn't fail the unit test.
|
2014-10-14 14:23:18 +02:00 |
Max Rice
|
b06e1982c9
|
Register post types before each unit test
Fixes #6501
see
https://core.trac.wordpress.org/changeset/29860/trunk/tests/phpunit/incl
udes/testcase.php, apparently we were #doingitwrong 🙈
|
2014-10-09 15:24:37 -04:00 |
Barry Kooij
|
6fb04ca50b
|
Download WordPress files over HTTPS.
|
2014-09-17 12:12:14 +02:00 |
Mike Jolley
|
d110508a25
|
Update unit tests to match log directory change.
|
2014-09-11 00:11:51 +01:00 |
Max Rice
|
ba47272599
|
update tests readme
|
2014-09-07 15:18:16 -04:00 |
Max Rice
|
6f532a93c4
|
Add coveralls.io for tracking test coverage
|
2014-09-07 14:53:33 -04:00 |
Max Rice
|
7bd27712c5
|
Set WC specific values for tests config
|
2014-09-06 00:49:02 -04:00 |
Jim Greenleaf
|
31d863fe73
|
fix tests to work with any host
|
2014-09-06 00:47:22 -04:00 |
Max Rice
|
8a6097be79
|
Fix typo
|
2014-09-05 19:36:43 -04:00 |
Max Rice
|
ac5076ad8e
|
Fix failing tests in PHP 5.2
|
2014-09-05 19:21:31 -04:00 |
Max Rice
|
bcf7d173f7
|
Add unit tests for formatting functions
|
2014-09-05 14:35:02 -04:00 |
Max Rice
|
0fbba35c9d
|
Add factory for webhook unit tests
|
2014-09-05 14:34:51 -04:00 |
Max Rice
|
0e4a4ef787
|
Add unit tests for notice functions
|
2014-09-05 02:36:46 -04:00 |
Max Rice
|
c1b4d16b9d
|
Add unit tests for coupon functions
|
2014-09-05 02:36:35 -04:00 |
Max Rice
|
02adbfa110
|
Unit Tests: add mock session handler
|
2014-09-05 02:35:53 -04:00 |
claudiosmweb
|
78c7fefe3e
|
fixed some docblocks
|
2014-09-02 16:50:19 -03:00 |
Max Rice
|
0bd7d8990c
|
[#3176] Refactor bootstrap
* Adjust load and install order
* Fix issue with stale capabilities after install
|
2014-09-01 16:11:48 -04:00 |
Max Rice
|
50253bc8b6
|
[#3176] Use shop manager role for API tests
|
2014-09-01 16:11:08 -04:00 |
Max Rice
|
4cffe3182f
|
[#3176] Add readme
|
2014-09-01 03:26:26 -04:00 |
Max Rice
|
9730201e08
|
[#3176] Add woocommerce class tests
|
2014-09-01 02:59:35 -04:00 |
Max Rice
|
93485e0891
|
[#3176] Add core function tests
|
2014-09-01 02:59:23 -04:00 |
Max Rice
|
17a1918991
|
[#3176] Add webhooks REST API endpoint tests
100% coverage :)
|
2014-09-01 02:04:49 -04:00 |
Max Rice
|
27f378bf4e
|
[#3176] Add unit test framework
|
2014-09-01 02:04:02 -04:00 |
Max Rice
|
71def57a7d
|
[#3176] Add unit test boostrap
|
2014-09-01 02:03:52 -04:00 |
Max Rice
|
cf50957629
|
[#3176] Clean up gitignore
|
2014-09-01 02:00:12 -04:00 |