test: Set up a mocha test harness #5
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "test_harness"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We use mocha as the test framework, as it is
the tool used by mathjs and we would like to make tests as similar
as possible. However, to tighten the linkage between source code and
tests, we adopt a somewhat different file organization: unit tests
for a given source file
blah/foo.js
are inblah/__test__/foo.spec.js
.To run all unit tests, execute the script
pnpm test
.Resolves #3.