You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Qiang Xue c7b430cf55 removed extra line. 11 years ago
..
_data Added acceptance tests for the basic app. 12 years ago
_helpers Added acceptance tests for the basic app. 12 years ago
_log Added acceptance tests for the basic app. 12 years ago
acceptance Added readme and updated test helper classes. 11 years ago
functional Added readme and updated test helper classes. 11 years ago
unit Added readme and updated test helper classes. 11 years ago
README.md removed extra line. 11 years ago
acceptance.suite.dist.yml Added acceptance tests for the basic app. 12 years ago
functional.suite.dist.yml Fixes #624: renamed www to web. 11 years ago
unit.suite.dist.yml Added acceptance tests for the basic app. 12 years ago

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.