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
|
11 years ago | |
---|---|---|
.. | ||
_data | 12 years ago | |
_helpers | 12 years ago | |
_log | 12 years ago | |
acceptance | 11 years ago | |
functional | 11 years ago | |
unit | 11 years ago | |
README.md | 11 years ago | |
acceptance.suite.dist.yml | 12 years ago | |
functional.suite.dist.yml | 11 years ago | |
unit.suite.dist.yml | 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:
- Install Codeception if you do not have it yet.
- Create test configuration files based on your environment:
- Copy
acceptance.suite.dist.yml
toacceptance.suite.yml
and customize it; - Copy
functional.suite.dist.yml
tofunctional.suite.yml
and customize it; - Copy
unit.suite.dist.yml
tounit.suite.yml
and customize it.
- Copy
- 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.