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 blocks
  • Verify whether default module configuations are working
  • Verify the previous behavior in "/cart" page
  • Verify whether changes in module configurations are reflectiing
  • Verify 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

subhojit777 created an issue. See original summary.

subhojit777’s picture

Issue summary: View changes
subhojit777’s picture

Issue summary: View changes
subhojit777’s picture

Issue summary: View changes
Status: Active » Needs work
subhojit777’s picture

Issue summary: View changes
subhojit777’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
subhojit777’s picture

Issue summary: View changes

  • subhojit777 committed 434484d on 7.x-2.x
    Issue #2568855: Changed Travis script
    
    - Changed Drush version
    - Changed...
  • subhojit777 committed e181edd on 7.x-2.x
    Issue #2568855: Changed Travis script
    
    - Changed test group
    - Changed...

  • subhojit777 committed 66b20c9 on 7.x-2.x
    Issue #2568855: Changed Travis script
    
    - Enabled dc_ajax_add_cart module...

  • subhojit777 committed 3050293 on 7.x-2.x
    Issue #2568855: Changed README extension
    
    - Markdown README added
    -...
subhojit777’s picture

Issue summary: View changes
subhojit777’s picture

Issue summary: View changes