|
|
12 سال پیش | |
|---|---|---|
| .. | ||
| _data | 12 سال پیش | |
| _helpers | 12 سال پیش | |
| _log | 12 سال پیش | |
| _pages | 12 سال پیش | |
| acceptance | 12 سال پیش | |
| functional | 12 سال پیش | |
| unit | 12 سال پیش | |
| .gitignore | 12 سال پیش | |
| README.md | 12 سال پیش | |
| _bootstrap.php | 12 سال پیش | |
| acceptance.suite.yml | 12 سال پیش | |
| functional.suite.yml | 12 سال پیش | |
| unit.suite.dist.yml | 12 سال پیش | |
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:
tests directory!).acceptance.suite.yml.
The URL should point to the index-test-acceptance.php file that is located under the web directory of the application.functional.suite.yml for functional testing and
unit.suite.yml for unit testing should already work out of the box
and should not need to be adjusted.
php codecept.phar build // rebuild test scripts, only need to be run once
php codecept.phar run // run all available tests
// you can also run a test suite alone:
php codecept.phar run acceptance
php codecept.phar run functional
php codecept.phar run unit
Please refer to Codeception tutorial for more details about writing acceptance, functional and unit tests.