Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 659 Bytes

testing.md

File metadata and controls

39 lines (26 loc) · 659 Bytes

Testing

Note: To prevent sending a massive amount of requests to the API, the tests are using Mockoon to mock the API responses. To run the tests, you need to start Mockoon first. If you are not familiar with Mockoon, please read the Mockoon section first.

Run PHPSpec tests

vendor/bin/phpspec run

Run PHPUnit tests

vendor/bin/phpunit

Run Behat scenarios

vendor/bin/behat --strict

Run Static Analysis checks

vendor/bin/psalm
vendor/bin/phpstan analyse

Run Coding Standard check

vendor/bin/ecs check

Prev: Development