No description
This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Marc Cataford 972d9e6edc
refactor: fork instead of socket (#17)
* 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
2023-04-14 09:38:28 -04:00
.github/workflows refactor: fork instead of socket (#17) 2023-04-14 09:38:28 -04:00
.yarn/releases build: yarn@3.5.0 (#6) 2023-04-14 09:38:20 -04:00
src refactor: fork instead of socket (#17) 2023-04-14 09:38:28 -04:00
tests feat: each support (#13) 2023-04-14 09:38:22 -04:00
.gitignore build: yarn@3.5.0 (#6) 2023-04-14 09:38:20 -04:00
.nvmrc feat: each support (#13) 2023-04-14 09:38:22 -04:00
.yarnrc.yml build: yarn@3.5.0 (#6) 2023-04-14 09:38:20 -04:00
DESIGN_DECISIONS.md docs: retcon some documentation on dependencies, snapshots (#16) 2023-04-14 09:38:27 -04:00
LICENSE Initial commit 2023-03-26 15:20:46 -04:00
package.json refactor: split cli call from runner logic (#15) 2023-04-14 09:38:28 -04:00
README.md docs: retcon some documentation on dependencies, snapshots (#16) 2023-04-14 09:38:27 -04:00
rome.json refactor: Expect with static matcher registration (#12) 2023-04-14 09:38:22 -04:00
tsconfig.json feat: cli options, help (#10) 2023-04-14 09:38:21 -04:00
yarn.lock feat: cli options, help (#10) 2023-04-14 09:38:21 -04:00

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 and rome, 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.