commonagent/test-writer
v0.2.0Apache-2.0
Writes the test suite a package's scripts will have to pass, from the spec and before the scripts exist, and runs it against nothing to prove it asserts something.
check-the-suite
once a suite exists, to run it against nothing and, when the scripts exist, against them
prove-a-suite
when a package has both its scripts and its suite and somebody wants to know whether the suite would notice the scripts being wrong
read-the-spec
the first step, before anything is written
say-what-was-written
last, to write the reply
write-a-suite
when a spec exists and its scripts do not yet, and somebody wants the tests those scripts will have to pass
write-the-suite
once the declaration is recorded, to write the tests