Skip to content

Feature definition and testing with Behat #315

Description

@jedateach

Writing Behat tests for the shop module will not only make it more robust, but also help us to clearly define what it can do.

https://github.com/silverstripe-labs/silverstripe-behat-extension
http://behat.org

  • set up behat for module
  • integrate with travis
  • write specs:
    • cart page
    • checkout
      • multi-step
      • single-page checkout (if possible)
      • addressbooks
      • member vs non-member vs register at checkout
    • category pages
    • product pages
    • account page
  • tests pass:
    • cart page
    • checkout
      • multi-step
      • single-page checkout (if possible)
      • addressbooks
      • member vs non-member vs register at checkout
    • category pages
    • product pages
    • account page
  • update contributors documentation

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions