nw-pbt-stateful
Installation
SKILL.md
Stateful PBT
Stateful property-based testing for systems with mutable state. Language-agnostic concepts; load language skills for framework syntax.
When to Use Stateful vs Stateless PBT
Is the system under test a pure function?
Yes -> Use stateless PBT (pbt-fundamentals skill)
No -> Does it have mutable state that affects behavior?
Yes -> Does the state change through a sequence of operations?
Yes -> Use stateful PBT (this skill)
No -> Use stateless PBT with setup/teardown
No -> Use stateless PBT
Use stateful PBT for: databases | APIs | caches | queues | state machines | protocols | connection pools | file systems.