unittest 1.8-0:
Bug fixes
- ok_group() no longer reports a unittest.stop_on_fail stop as a group
exception (dc72379)
- Failing ut_cmp_*() no longer leaves a temporary file behind in
tempdir() (69d5234)
- Diff output unaffected by user git config, e.g. diff.noprefix /
diff.external (5ac85d1)
- Colour output now detected in the RStudio console (bed7dc4)
- ok_group() with an empty message no longer described as “NA”
(7ced9ae)
- TAP plan counts only tests, not ok_group()s (6e4965b)
unittest 1.7-0:
Breaking changes
- ok_group() now catches exceptions, reports as errors and carries on,
unless unittest.stop_on_fail set (08ae641)
New features
- Colour ok / not ok lines if we can (4dc435d0)
- Include TAP plan in test summary at end of tests (1b890ad)
- Add options(unittest.stop_on_fail = TRUE), to stop with first error
(ce2dcbc)
- Failing tests are now reported at the end of test output
(ec84b0c)
- unittest.cmp_context configures number of context lines for diff
output (833c9c5)
- Add ut_cmp_warning() for checking code is raising warnings
(840f1f4)
- ut_cmp_error() can now check error class as well as message
(27e6e2d)
unittest 1.6-0:
Bug fixes
- More robust stacktrace filtering in ok()
unittest 1.5-1
New features
- options(unittest.output = …) to redirect unittest output.
unittest 1.4-0
New features
- ut_cmp_equal() and ut_cmp_identical() for comparing outputs.
- ut_cmp_error() function to simplify testing for errors.
unittest 1.3-0
New vignettes
New features
- Show stack traces when functions being tested fail
unittest 1.1-0
New features
- New ok_group function for grouping unit tests.
- Additional cookbook examples in the package documentation.