Skip to content

Latest commit

 

History

History
executable file
·
19 lines (17 loc) · 331 Bytes

testing.md

File metadata and controls

executable file
·
19 lines (17 loc) · 331 Bytes

Testing

To run tests:

  • Create yii2-starter-kit-test database
  • Adjust .env file to set TEST_DB_DSN, TEST_DB_USER and TEST_DB_PASSWORD params
  • Setup application
php tests/codeception/bin/yii app/setup
  • Start web server
php -S localhost:8080
  • Run tests:
cd tests
./../vendor/bin/codecept run