Releases: yihui/testit
Releases · yihui/testit
testit 0.13
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 byR CMD check
, e.g., when you run tests in RStudio viaCtrl/Cmd + Shift + T
, so you will not have to install the package manually (Ctrl/Cmd + Shift + B
) before running tests.
testit 0.11
testit 0.10
NEW FEATURES
test_pkg()
also looks for tests under thetests/testit/
directory. This makes it easier for you to runtest_pkg()
under the root directory of the package, and you don't need to change the working directory totests/
.
testit v0.9
NEW FEATURES
- Added a new argument
silent
to has_error() (thanks, @StevenMMortimer, #6).
testit v0.8
NEW FEATURES
- When
%==%
is used insideassert()
, 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
NEW FEATURES
-
provided an alternative way to write assertions of the form
assert('fact', { (condition_2) (condition_2) })
see
?testit::assert
for more information