Ensuite
Literate test-driven development for the ECMAScript language family.
$ npx @hackbg/ensuite@latest ensuite SPEC.ts.md
Definitions
This project defines and implements the literate TDD workflow, as used by Fadroma.
A literate test suite is a program written in Markdown embedded code blocks. Its purpose is to describe and verify the behavior of another program (the system under test), by combining test suites and specifications/documentation in the same document.
Dependencies
-
@hackbg/spec lets you define test suites.
-
@hackbg/ganesha lets you write them as literate modules.
-
@hackbg/ubik is used to publish this package to NPM.
-
c8 collects test coverage.
-
why-is-node-still-running lets you hit
?
(question mark) if your test suite doesn't exit, in order to see what's holding up the event loop.