25. テストの実行
1 ファイルのテストを実行
> runTestFile("../test/runit.sample.R")
Executing test function test.c2f ... Error in 9/5 * c : non-
numeric argument to binary operator
done successfully.
Number of test functions: 1
Number of errors: 0
Number of failures: 0
28. テストスイート
> printTextProtocol(testResult)
RUNIT TEST PROTOCOL -- Sat May 28 08:45:02 2011
***********************************************
Number of test functions: 1
Number of errors: 0
Number of failures: 0
1 Test Suite :
c2f - 1 test function, 0 errors, 0 failures
Details
***************************
Test Suite: c2f
Test function regexp: ^test.+
Test file regexp: ^runit.+.R
Involved directory:
../test
---------------------------
Test file: ../test/runit.sample.R
test.c2f: (3 checks) ... OK (0 seconds)