phax 0.39.0
Changes since 0.38.0: v0.38.0...v0.39.0.
Highlights
- Property-based tests over phax's input boundaries — A property states a promise phax already makes at an input boundary; a generator searches for the input that breaks it, and every failure replays from its seed.
What's new
Property-based tests over phax's input boundaries
A property states a promise phax already makes at an input boundary; a generator searches for the input that breaks it, and every failure replays from its seed.
-
A failing property in
pnpm test:unitprints its seed, its shrunk counter-example and the command that replays it.pnpm test:unitNow:
Before
-
Three environment variables set the seed, the replay path and the run count of every property test.
PHAX_PROPERTY_SEED, PHAX_PROPERTY_PATH, PHAX_PROPERTY_RUNSNow:
-
The daily Security workflow runs a deeper pass of every property test with a fresh seed.
.github/workflows/security.ymlNow:
Before