Skip to content

Releases: yihui/testit

testit 0.13

14 Apr 15:11
Compare
Choose a tag to compare
  • 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.

testit 0.12

25 Sep 12:40
Compare
Choose a tag to compare
  • 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.

testit 0.11

12 Nov 16:53
Compare
Choose a tag to compare
  • The package license was changed from GPL to GPL-3 (@jayvdb #8).

testit 0.10

01 Oct 20:48
Compare
Choose a tag to compare

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/.

testit v0.9

05 Dec 18:42
Compare
Choose a tag to compare

NEW FEATURES

testit v0.8

14 Jun 13:38
Compare
Choose a tag to compare

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.

CHANGES IN testit VERSION 0.7

23 May 21:18
Compare
Choose a tag to compare

NEW FEATURES

  • provided an alternative way to write assertions of the form

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

    see ?testit::assert for more information

CHANGES IN testit VERSION 0.6

09 Nov 17:55
Compare
Choose a tag to compare

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