search for: testfileregexp

Displaying 2 results from an estimated 2 matches for "testfileregexp".

2010 Apr 22
2
RUnit bug?
There appears to be a bug in RUnit. Given a testsuite testsuite.math, say, when I run: runTestSuite(testsuite.math) this works fine, provided there are no extraneous files in the unit test subdirectory. But if there are any Emacs temp files (with names that end with '~') then runTestSuite gets confused and tries to run functions from the temp files as well. [[alternative HTML version
2006 Feb 04
1
RUnit - need advice on a good directory structure or tips...
...that of the restSuite file. ## ## 3. The name of a testSuite file must start with 'suite', not 'test'. ## ################################################## library("RUnit") suite_foo <- defineTestSuite("foo", dirs = ".", testFileRegexp = "^test.+\\.r", testFuncRegexp = "^test.+" ) result_foo <- runTestSuite(suite_foo) printTextProtocol(result_foo) ## printHTMLProtocol(result_foo, fileName="result_foo.html") ## runTestFile("test_foo.r") =====================...