-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
Igor Sazonov edited this page Mar 5, 2026
·
1 revision
The Shippo PHP SDK has a comprehensive test suite to ensure code quality and reliability. The test suite is built using Pest PHP and includes both unit and integration tests.
To run the test suite, you can use the following Composer script:
composer testTo run the test suite and generate a code coverage report, you can use the following Composer script:
composer test-coverageThe coverage report will be generated in the build/coverage directory.
The SDK uses PHPStan for static analysis to help prevent bugs before they happen. To run the static analysis, you can use the following Composer script:
composer analyse