Mark d2214e4f0a tests modified, bootstrap added %!s(int64=12) %!d(string=hai) anos
..
_data 955f351e6d Added acceptance tests for the basic app. %!s(int64=12) %!d(string=hai) anos
_helpers 08d456ae3f Only whitespace removal %!s(int64=12) %!d(string=hai) anos
_log 955f351e6d Added acceptance tests for the basic app. %!s(int64=12) %!d(string=hai) anos
_pages d2214e4f0a tests modified, bootstrap added %!s(int64=12) %!d(string=hai) anos
acceptance d2214e4f0a tests modified, bootstrap added %!s(int64=12) %!d(string=hai) anos
functional d2214e4f0a tests modified, bootstrap added %!s(int64=12) %!d(string=hai) anos
unit d2214e4f0a tests modified, bootstrap added %!s(int64=12) %!d(string=hai) anos
README.md 8d93daf571 removed extra line. %!s(int64=12) %!d(string=hai) anos
_bootstrap.php d2214e4f0a tests modified, bootstrap added %!s(int64=12) %!d(string=hai) anos
acceptance.suite.dist.yml d2214e4f0a tests modified, bootstrap added %!s(int64=12) %!d(string=hai) anos
functional.suite.dist.yml d2214e4f0a tests modified, bootstrap added %!s(int64=12) %!d(string=hai) anos
unit.suite.dist.yml 955f351e6d Added acceptance tests for the basic app. %!s(int64=12) %!d(string=hai) anos
yii_bootstrap.php d2214e4f0a tests modified, bootstrap added %!s(int64=12) %!d(string=hai) anos

README.md

This folder contains various tests for the basic application. These tests are developed with Codeception PHP Testing Framework.

To run the tests, follow these steps:

  1. Install Codeception if you do not have it yet.
  2. Create test configuration files based on your environment:
    • Copy acceptance.suite.dist.yml to acceptance.suite.yml and customize it;
    • Copy functional.suite.dist.yml to functional.suite.yml and customize it;
    • Copy unit.suite.dist.yml to unit.suite.yml and customize it.
  3. Switch to the parent folder and run tests:
cd ..
php codecept.phar build    // rebuild test scripts, only need to be run once
php codecept.phar run      // run all available tests

Please refer to Codeception tutorial for more details about writing acceptance, functional and unit tests.