Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 1.05 KB

File metadata and controls

74 lines (47 loc) · 1.05 KB

Testing

This package contains a PHP test suite with mutation testing support.

Automated refactoring and coding standards

Run Rector:

composer rector

Run Easy Coding Standard with fixes.

composer ecs

Dependency definition check

Verify runtime dependency declarations.

composer check-dependencies

Mutation testing

Run mutation testing.

composer mutation

Run mutation testing with static analysis enabled.

composer mutation-static

PHP test suite

Run the PHP unit and integration tests.

composer tests

This executes the PHPUnit suite defined in phpunit.xml.dist.

Static analysis

Run PHPStan.

composer static

Passing extra arguments

Composer scripts support forwarding additional arguments using --.

Examples.

composer tests -- --filter ViteTest
composer static -- --memory-limit=512M

Next steps