Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 917 Bytes

testing.md

File metadata and controls

40 lines (25 loc) · 917 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:

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