Add total-count argument to end-test hook documentation
Add documentation for faith configuration
Changes:
* Document how to add configuration
* Document all high-level keys, i.e. `:diff-cmd` `:hooks`
* Document all hook functions and common data types
* Remove TODO item from README.md for documenting hooks
Add documentation for faith configuration
Changes:
* Document how to add configuration
* Document all high-level keys, i.e. `:diff-cmd` `:hooks`
* Document all hook functions and common data types
* Remove TODO item from README.md for documenting hooks
Use diff to display expected vs actual in equality failures.
Correct expected error loci in self-tests
Run tests and report results in stable order
Use rawequal for identity checks.
Improve tooling support with more recognizable failures
The Compilation mode in Emacs, for example, now recognizes test failures. This
patch is to FAILs what 54a40f7 was to ERRORs. Both FAILs and ERRORs now use
the same format:
LABEL: TEST:
FILE:LINE: DESCRIPTION
where LABEL is either "ERROR" or "FAIL".
Make self-tests tolerant of different trace output.
Newer versions of Fennel started using tabs here instead of spaces.
Remove test for removed behavior.
Don't pcall when requiring test modules initially.
This was done because a failing module will leave bad state in
package.loaded, which you have to clear out manually. This is a
problem, but it should be addressed elsewhere and not in faith.
Remove error-match and make regular error do what it did.
Remove `error` assertion.
It's almost always a mistake to assert that an error occurred without
asserting what the error was.
Fix 'error-match' not triggering on 'nil'
Clarify the meanings of some assertions.
Allow using faith.fnl as a script without a loader.