Commit graph

27 commits

Author SHA1 Message Date
85af7dd4cb
feat: basic beforeEach, afterEach support (#28) 2023-04-15 22:50:21 -04:00
e216c2d04e
refactor: replace console by logging util (#27)
* refactor: replace console by logging util

* refactor: more logging replacements

* refactor: more logging replacements
2023-04-15 22:18:27 -04:00
912261443a
refactor: build context and run tests after gathering facts (#26)
* refactor: build context and run tests after gathering facts

* test: update integration test to not check for case collection

* refactor: further cleanup

* refactor: leftover log statements

* refactor: further cleaning

* refactor: no more collector
2023-04-15 21:09:04 -04:00
6a9e9ee3fc
feat: toHaveLength matcher (#25)
* feat: toHaveLength matcher

* refactor: standardize errors thrown on failed expectation

* test: toHaveLength coverage

* fix: resolve type discrepancy

* ci: add typecheck step
2023-04-15 16:30:05 -04:00
e6ef369fdb
build: ts-node no longer needed in main install (#24)
* build: ts-node no longer needed in main install

* test: integration tests can use regular build package
2023-04-15 01:37:05 -04:00
ec2e46e04d
build: run tests using actual build (#23)
* build: run tests using actual build

* build: build script that includes hashbang prepending

* ci: missing /bin/zsh
2023-04-15 01:28:59 -04:00
540ce0bbbb
test: add integration test on ts skip (#22)
* test: add integration test on ts skip

* chore: add test prefix to commit linter

* build: shell access

* build: lint commit to include first commit
2023-04-15 00:34:06 -04:00
e7cc91c6ac
build: commit linting in ci (#21)
* build: commit-linting utility

* ci: add commit-lint to ci

* refactor: better messaging on failed linting

* wip: commit grabbing

* ci: fetch depth when linting commits

* ci: fetch depth when linting commits

* ci: checkout?

* ci: checkout?

* ci: checkout?

* fix: amend regexp

* fix: pattern matching in commit lint

* fix: pattern matching in commit lint

* docs: document lint-commit script
2023-04-14 09:38:29 -04:00
4343402a04
chore: add bootstrap script to facilitate startup (#20)
* chore: add bootstrap script to facilitate startup

* docs: mention bootstrap in README
2023-04-14 09:38:29 -04:00
cab7505672
docs: adr-0001 nodeps + ci check (#19)
* docs: adr-0001 nodeps + ci check

* ci: add check
2023-04-14 09:38:29 -04:00
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
786149b0d7
docs: retcon some documentation on dependencies, snapshots (#16) 2023-04-14 09:38:27 -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
e6aa1a16c3
build: rome@12 (#9) 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
a04a5b87ca
build: yarn@3.5.0 (#6)
* build: yarn@3.5.0

* build: yarn@3.5.0
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
Marc Cataford
c1d6171542
Initial commit 2023-03-26 15:20:46 -04:00