2024-08-16 Jamie Lentin Version 1.7-0 * (origin/oknotok-colours) outcome: White "ok" instead of green (15d72dd) * outcome: Colour ok/not ok lines if we can (4dc435d) * output: Move "options" code to "output" (8b7bc7f) * (origin/ok_group_error_handling, ok_group_error_handling) ok_group: Summarise groups and tests separately (179e124) * outcomes: Abstract data.frame-based storage (8f1731d) * outcome: Common line-writing, stop_on_fail-handling (20031a7) * format_traceback: Unify error-handling in try_catch_traceback() (88cd9e7) * format_traceback: Reduce indentation (238f788) * use format_traceback to subset the call stack (f40299b) * use format_traceback (63fa950) * ok_group wraps code block with tryCatch (08ae641) * add TAP plan where we have human readable summaries (1b890ad) * outcome: Don't blat history on subsequent record_outcomes() (02b20ac) * ok: Add unittest.stop_on_fail (ce2dcbc) * ut_with_report: Experimental interactive summaries (80b2d49) * format_traceback: Add common traceback formatter (340ea7f) * outcome: Explicitly record_outcomes() (3de7d5a) * outcome: Report errors if no tests run (1a507b7) * outcome: It's tests *ran*, not tests *passed* (aafbdac) * outcome: Pass in errors to outcome_summary() (89697d3) * outcome: Remove nested if (443d037) * outcome: Break up non_interactive_summary (c81a3f8) * Merge pull request #20 from ravingmantis/test-summaries (a511f34) * Merge pull request #19 from ravingmantis/context-lines (ab5cb61) * Added ut_cmp_warning() function (840f1f4) * non_interactive_summary: Tell people which tests failed (ec84b0c) * non_interactive_summary: Fetch variables from environment once (e3ab94d) * non_interactive_summary: Isolate pkg_vars from GlobalEnv() (7d0604b) * summary: Use clear_outcomes() instead of manually clearing environment (46bd8eb) * ut_cmp: Expose context_lines as parameter & option (833c9c5) * ut_cmp_error extended to check error class (27e6e2d) * Break up outcomes' description & output (04f8677) * Standardise text output with write_ut_lines() (c33ffb4) 2024-01-10 Jamie Lentin Version 1.6-1 * DESCRIPTION: Updated maintainer e-mail addresses 2023-05-04 Jamie Lentin Version 1.6-0 * ok: More robust stacktrace filtering (c7740d6) * non_interactive_summary: clear_outcomes() to reset tests (97146bc) 2022-09-25 Jamie Lentin Version 1.5-3 * README: Use canonical form of CRAN URL 2022-09-25 Jamie Lentin Version 1.5-2 * ut_cmp_*: Fix test failure on r-oldrel-windows-ix86+x86_64 2022-09-07 Jamie Lentin Version 1.5-1 * NEWS: Convert to a R-devel compatible format 2022-09-07 Jamie Lentin Version 1.5-0 * options: Disable git-diff colors where appropriate * options: options(unittest.output = ...) to redirect unittest output * ut_cmp_*: Support for r-devel-windows-x86_64-new-UL * ut_cmp_*: Add deparse_frame option for nicer comparision helpers * ut_cmp_*: Show more digits in diff output when required * ut_cmp_*: Windows path-related bugfixes 2019-11-19 Jamie Lentin Version 1.4-0 * ut_cmp_*: Support comparing environments * ut_cmp_*: Graduate from example to included function * ut_cmp_error: Graduate from example to included function * ok: Preserve empty lines in dignostic output * non_interactive_summary: Bail out message on fatal script errors 2017-11-01 Jamie Lentin Version 1.3-0 * R/ok.R (ok): Add stacktrace as well as final failing call * R/ok.R (ok): Deparse the call object correctly when handling test errors * NAMESPACE: Declare that we use utils::capture.output * vignettes/getting_started.Rnw: Content moved here from package unittest-package.Rd * vignettes/code_cookbook.Rnw: Content moved here from package unittest-package.Rd 2015-02-13 Jamie Lentin Version 1.2-0 * R/non_interactive_summary.R: Remove broken detection for tests ending prematurely. * R/*.R man/*.Rd tests/*.R: Make the use of white space within parentheses consistent. * DESCRIPTION: Title should be in title-case. 2014-12-14 Jamie Lentin Version 1.1-1 * Fix spelling mistakes in documentation, changelog 2014-12-13 Jamie Lentin Version 1.1-0 * R/ok_group.R (ok_group): New function to display a debug message before evaluating a code block containing unit tests. * R/ok.R (ok): Long descriptions no longer breaks output. * R/non_interactive_summary.R (non_interactive_exit): Now notices when tests end prematurely and puts out debug message. * man/unittest-package.Rd: Fixed incorrect instructions for integration with R CMD check. 2014-09-10 Anthony Hennessey Version 1.0-1 * tests/test_non_interactive.R (run_script): stdout and stderr in system2 command to tmp files to avoid 'illegal seek' error on Solaris. 2014-08-23 Jamie Lentin Version 1.0-0 Initial release.