Commit graph

13 commits

Author SHA1 Message Date
cf98db4d39
fix: typescript support when packaged (#18)
* build: corepack, stop bundling yarn executable

* chore: bin, main in package.json

* feat: allow ts flag to use ts-node to run tests

* wip: refine support

* ci: add ts support to ci

* ci: leftover node 14
2023-04-14 09:38:28 -04:00
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
33c3bb6afa
refactor: split cli call from runner logic (#15) 2023-04-14 09:38:28 -04:00
4f14f20ec2
feat: set worker count from cli (#14)
* feat: basic worker setting support

* ci: enable in CI

* refactor: split off argument parser

* feat: generate helptext from flag configuration
2023-04-14 09:38:27 -04:00
2bc6d94507
feat: each support (#13)
* feat: add each support for test, describe

* docs: document test

* feat: label templating basic support

* refactor: group test exports together

* refactor: leverage each in repetitive tests

* chore: pinned node -> alias

* test: coverage for it, test
2023-04-14 09:38:22 -04:00
711d0097ce
refactor: Expect with static matcher registration (#12)
* refactor: Expect with static matcher registration

* refactor: types

* refactor: mark private properties as such

* refactor: consolidate matcher adding and remove redundancy

* chore: lint

* refactor: more consolidation

* refactor: simply matchers exports

* docs: documentation on Expect

* refactor: remove dependencies around inverse matchers

* refactor: move cruft from constructor
2023-04-14 09:38:22 -04:00
aa4695c4e5
refactor: add matchers to expectation dynamically (#11)
* refactor: add matchers to expectation dynamically

* feat: add toThrow

* refactor: centralize types

* docs: matchers

* refactor: MatcherReport

* chore: format before lint

* refactor: simplify negated matchers

* docs: inverse matchers
2023-04-14 09:38:21 -04:00
40cc9fa664
feat: cli options, help (#10)
* feat: cli options, help

* refactor: resolve tsconfig kerfuffle

* wip: clean up

* refactor: trim messaging on failure
2023-04-14 09:38:21 -04:00
de5ff50c3b
feat: split runner and workers, set up ipc (#8)
* feat: split runner and workers, set up ipc

* docs: document worker a bit

* wip: centralize runtime details to context obj

* wip: clean up context, batching

* wip: fail on failure

* wip: propagate failure

* refactor: move types

* refactor: split collector into separate process for split opportunities

* refactor: no need for the fs cache anymore
2023-04-14 09:38:20 -04:00
57f2757adf
feat: runner without dynamic import (#5)
* feat: runner without dynamic import

* refactor: case collection count

* feat: handle failures

* revert: restore test
2023-04-14 09:38:20 -04:00
b34766244f
feat: negation support (#4)
* feat: negation support

* test: coverage for not, update old coverage
2023-04-14 09:38:19 -04:00
c937fc3a60
refactor: use assert API instead of handrolled equalities (#3)
* refactor: use assert API instead of handrolled equalities

* chore: lint
2023-04-14 09:38:19 -04:00
329103c470
feat: getting something going (#1)
* feat: basics

* chore: lint

* wip: slightly better expect logic

* test: use self for test cases

* ci: enable test, build steps

* chore: lint

* docs: readme stub

* feat: toBe

* chore: lockfile
2023-04-14 09:38:15 -04:00