No description
Marc Cataford
972d9e6edc
* refactor: use fork and child>parent messaging instead of socket * feat: timing marks, standardize workers * refactor: remove cruft from collector worker * refactor: standardize worker,process spawn logic * ci: drop support for node 14, eol * refactor: needless double string convert * refactor: no more log grouping * fix: fail on failure |
||
---|---|---|
.github/workflows | ||
.yarn/releases | ||
src | ||
tests | ||
.gitignore | ||
.nvmrc | ||
.yarnrc.yml | ||
DESIGN_DECISIONS.md | ||
LICENSE | ||
package.json | ||
README.md | ||
rome.json | ||
tsconfig.json | ||
yarn.lock |
works-on-my-machine (womm)
✨ A full-nonsense pet test runner ✨
So, what is this?
Software in the NodeJS ecosystem tends to depend a lot on external dependencies. What would a test runner without any look like? This is the question that started all of this.
womm
is a pet test runner that follows the general direction of jest
and playwright
with a few additional
constraints:
- It must not have any production dependencies (some development dependencies are permissible, like
typescript
androme
, but keeping it to a minimum); - It must be compatible with the general API exposed by Jest and the like, for familiarity;
- It must use itself for testing.
Hot takes baked in
womm
is an opinionated implementation of Typescript/Javascript testing libraries we've all come to get used to. You
can peek at the opinions baked into this here.