Recent Releases of testit

testit - testit 0.13

  • The global option options(testit.cleanup = TRUE) (TRUE is the default) can be used to clean up additional files or directories generated in the tests/ directory during the test process.

- R
Published by yihui almost 5 years ago

testit - testit 0.12

  • testit::test_pkg() installs the package before running tests when it is called from a non-interactive R session that is not launched by R CMD check, e.g., when you run tests in RStudio via Ctrl/Cmd + Shift + T, so you will not have to install the package manually (Ctrl/Cmd + Shift + B) before running tests.

- R
Published by yihui over 5 years ago

testit - testit 0.11

  • The package license was changed from GPL to GPL-3 (@jayvdb #8).

- R
Published by yihui over 6 years ago

testit - testit 0.10

NEW FEATURES

  • test_pkg() also looks for tests under the tests/testit/ directory. This makes it easier for you to run test_pkg() under the root directory of the package, and you don't need to change the working directory to tests/.

- R
Published by yihui over 6 years ago

testit - testit v0.9

NEW FEATURES

  • Added a new argument silent to has_error() (thanks, @StevenMMortimer, #6).

- R
Published by yihui about 7 years ago

testit - testit v0.8

NEW FEATURES

  • When %==% is used inside assert(), a message will be printed if the value is not TRUE, to show the values of the LHS and RHS, respectively.

- R
Published by yihui over 7 years ago

testit - CHANGES IN testit VERSION 0.7

NEW FEATURES

  • provided an alternative way to write assertions of the form

    r assert('fact', { (condition_2) (condition_2) })

    see ?testit::assert for more information

- R
Published by yihui almost 9 years ago

testit - CHANGES IN testit VERSION 0.6

NEW FEATURES

  • test_pkg() runs package tests with top-level environment being set to the namespace of the tested package (thanks, @kalibera, #3)

MAJOR CHANGES

  • all test scripts (test-*.R) are assumed to be encoded in UTF-8 if they contain multibyte characters

- R
Published by yihui over 9 years ago