Releases: xp-framework/test
Releases · xp-framework/test
2.1.0: FromDirectory source consistency
2.0.0: XP 12 compatibility
This second major release upgrades this library to support only the latest PHP 7 version, PHP 7.4, in alignment with XP 12. See xp-framework/rfc#343
1.5.2: Method call fix
- Fixed Call to undefined method Returning::name() - @thekid
1.5.1: Error cleanup fix
- Fixed support for cleaning up errors with
xp::gc()
inside tests
(@thekid)
1.5.0: Assert::matches()
1.4.0: Reporting
- Merged PR #21: Add JSON report, producing test reports in JSON format
compatible with Mocha, see https://mochajs.org/#json. This can be used
to integrate with https://github.com/marketplace/actions/test-reporter,
see https://github.com/xp-framework/test/actions/runs/4777443690 at the
very bottom of the page.
(@thekid) - Merged PR #20: Extract output into a dedicated classes, reports.
- The command line option
-r
select report to use - The default report is called Grouped
- A minimalistic report called Dots prints a
.
for each test - Multiple reports can be used
- Report arguments can be passed via
-r [Report],[Arg1],[Arg2]
(@thekid)
- The command line option