# Testing Standard
Software testing (opens new window) is the activity of checking software quality under a test. It is carried to ensure that the software system is free of errors. It helps to detect bugs, errors, missing requirements, etc.
Testing is all about make sure that the software behave as expected. That the software will always responds in a predictable way every time.
Chevere tests are located at Chevere\Tests (opens new window) namespace
# Testing Framework
- Integration testing (opens new window) is required
- All components must be covered
- Must be named with
- Must be located at
Configuration for PHPUnit can be found at
phpunit.xml. The configuration at
phpunit-report.xml does testing with code coverage.
# Running tests
To run tests:
vendor/bin/phpunit -c phpunit.xml
To run tests with code coverage report at
vendor/bin/phpunit -c phpunit-report.xml
To run filtered tests use the
vendor/bin/phpunit -c phpunit-report.xml --filter ActionTest
Check PHPUnit Documentation (opens new window) for all available options.