Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 949 Bytes

testing.md

File metadata and controls

45 lines (29 loc) · 949 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