Rdocumentation
powered by
Learn R Programming
hySpc.testthat (version 0.2.2)
Unit Test Add-on for 'testthat'
Description
Enhance package 'testthat' by allowing tests to be attached to the function/object they test. This allows to keep functional and unit test code together.
Copy Link
Link to current version
Version
Version
0.2.2
0.2.1
Install
install.packages('hySpc.testthat')
Monthly Downloads
267
Version
0.2.2
License
MIT + file LICENSE
Maintainer
Claudia Beleites
Last Published
December 22nd, 2025
Functions in hySpc.testthat (0.2.2)
Search all functions
test<-
Attach unit tests to objects
get_test
Get test that is attached to object as "test" attribute
unittest
Run unit tests
test_fun
Run test attached to function