You've already forked wc-licensed-product-client
Add PHPUnit test suite
- Add PHPUnit 11.0 as dev dependency - Add phpunit.xml configuration - Add DTO tests (LicenseInfo, LicenseStatus, ActivationResult) - Add Exception tests (factory method, all exception types) - Add LicenseClient tests with mocked HTTP responses - Update README with testing instructions - Update CHANGELOG 32 tests, 93 assertions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- PSR-3 logging support (optional)
|
||||
- PSR-6 caching support (optional)
|
||||
- PSR dependencies (`psr/log`, `psr/cache`, `psr/http-client`)
|
||||
- PHPUnit test suite with 32 tests covering DTOs, exceptions, and client
|
||||
|
||||
### Changed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user