# Testing Standard

Chevere tests are located at Chevere\Tests (opens new window) namespace

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 and missing requirements.

Testing is about make sure that the software behave as expected and that the software will responds in a predictable way every time.

# Testing Framework

# Requirements

  • All components must be tested and covered

# Conventions

  • Must be named with Test suffix
  • Must be located at Tests/<component>/

# Configuration

# Running tests

To run tests:

vendor/bin/phpunit -c phpunit.xml

To run tests with code coverage report at ./build/coverage/:

vendor/bin/phpunit -c phpunit-report.xml

To run filtered tests use the --filter option:

vendor/bin/phpunit -c phpunit-report.xml --filter ActionTest


Check PHPUnit Documentation (opens new window) for all available options.

Last Updated: 10/24/2021, 2:05:03 PM