~technomancy/faith

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.
01336fa1 — Rudolf Adamkovič 9 months ago
Correct expected error loci in self-tests
7264d02c — Rudolf Adamkovič 9 months ago
Run tests and report results in stable order
Use rawequal for identity checks.
3fac28f4 — Rudolf Adamkovič 10 months ago
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.
Linting suggestions.
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.
11a144d4 — Rudolf Adamkovič 1 year, 5 months ago
Fix 'error-match' not triggering on 'nil'
Clarify the meanings of some assertions.
Allow using faith.fnl as a script without a loader.
Next
Do not follow this link