Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
It is not feasible to test every functionality manually after making changes to module. Hence, write automated tests.
Proposed resolution
Tests should cover the following cases:
Verify cart blocksVerify whether default module configuations are workingVerify the previous behavior in "/cart" pageVerify whether changes in module configurations are reflectiingVerify add/update/remove products from cart as authenticated user (without any special permissions, just authenticated)Verify add/update/remove products from cart as anonymous user(not required)- Verify effect of cart with 0/less-than-zero/greater-than-zero update count
- Integration with Commerce coupon 2 #2499725: Negative order total with coupon
- Respect required fields on add to cart form #2362869: Respect required fields on add to cart form
- Show correct selling price (discounted price if applicable) #2338129: Compatibility with Commerce Discount
Remaining tasks
Write tests and setup Travis CI integration.
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Comments
Comment #2
subhojit777Comment #3
subhojit777Comment #4
subhojit777Comment #5
subhojit777Comment #6
subhojit777Comment #7
subhojit777Comment #14
subhojit777Comment #15
subhojit777