Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 948 Bytes

testing.md

File metadata and controls

44 lines (28 loc) · 948 Bytes

Testing

Checking dependencies

This package uses composer-require-checker to check if all dependencies are correctly defined in composer.json.

To run the checker, execute the following command:

composer run check-dependencies

Easy coding standard

The code is checked with Easy Coding Standard and PHP CS Fixer. To run it:

composer run ecs

Mutation testing

Mutation testing is checked with Infection. To run it:

composer run mutation

Static analysis

The code is statically analyzed with Psalm. To run static analysis:

composer run psalm

Unit tests

The code is tested with PHPUnit. To run tests:

composer run test