# Testing Standard

# Testing Software

# 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

TIP

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

Last Updated: 10/11/2022, 11:12:32 PM