Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Latest commit

 

History

History
87 lines (59 loc) · 3.22 KB

File metadata and controls

87 lines (59 loc) · 3.22 KB

Behaviour driven development. Business logic.

Author

Behat Scenarios

Scenarios are placed under /features/ directory. Each feature is describd by .feature file.

Run tests

To run all Behat scenarios, just run from application directory:

$ bin/behat

To run Behat scenarios from given tag, just run:

$ bin/behat --tags tag_name

where tag_name is your @tag_name tagged features.

Application

File locations

Acceptance tests

You should check these aspects:

  • User interface:

    • Current page URL's and redirection URL's
    • Listing contents after CRUD operation
    • Response codes while testing security
    • Invalid values while submitting forms (CRUD)
  • API:

    • Response codes
    • Response contents
    • Invalid values while CRUD

Virtualbox paths

Application code is under:

cd /var/www/html/symfony2-behat-example