Skip to content

RUnit - need advice on a good directory structure or tips...

2 messages · Sung Soo Kim, Seth Falcon

2 days later
#
On 3 Feb 2006, sskim.box at gmail.com wrote:

            
I think the best thing would be to put your code into a package and
then decide upon a convention for RUnit testing that relies upon the
known structure of the package.

I've been putting RUnit tests in inst/unitTests in some of the
packages I work on and have a makefile in that directory that can
reinstall the package and run the tests.  It isn't all that elegant,
but I don't have to do any guessing about where the code is.

HTH,

+ seth