Skip to content
marick edited this page Apr 27, 2012 · 13 revisions

Facts

  • Facts now report their doc strings. Nested facts report nested descriptions.
  • Tabular facts no longer require variable names to begin with "?".

Checkers

  • The throws checker is much more flexible.
  • every-checker and some-checker can be used to combine other checkers while still getting helpful failure messages.
  • Checker synonyms: FALSEY, TRUTHY, and irrelevant (for anything).
  • Chatty checkers can destructure their single argument.

Prerequisites

  • The =throws=> arrow can be used to throw exceptions.
  • You can use vars as well as symbols in prerequisites.

Other

  • Better reporting of test failures.
  • Better error reporting for many common test-writing mistakes.
  • Everything has doc strings.
  • expose-testables is another way to test private functions.
Clone this wiki locally