Displaying 1 result from an estimated 1 matches for "runit_myfunc".
2004 Aug 09
2
Approaches to using RUnit
...bout the best way to load/import/source the
functions to be tested. I would like to end up with a script, testall
or some such, that allows me to run all the unit tests in a given
directory.
One way I've thought about looks like:
myfunc.R
--------------
# some functions here
--------------
runit_myfunc.R
--------------
source("myfunc.R")
# test function here
--------------
+ seth