Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 431 Bytes

File metadata and controls

17 lines (11 loc) · 431 Bytes

Tests

The Jetpack platform is shipped with some back-end behaviour tests.

These tests are run by Behat, a framework to test business expectations.

To run tests, execute

# clear cache
docker-compose exec web bin/console cache:clear --env=test

#run tests
docker-compose run --rm web vendor/bin/behat ./features/

Behat uses a local sqlite3 database to separate tests data from production data.