views:

53

answers:

0

I'm writing a R library together with other developers. we are using RUnit for unit testing.

our process for describing new functionality: we define new unit tests, initially marked as DEACTIVATED; one block of tests at a time we activate them and implement the function described by the tests. almost all the time we have a small amount of DEACTIVATED tests, relative to functions that might be dropped or will be implemented.

my problem/question is: how must I alter the doRUnit.R so that R CMD check pkg emits a NOTE in case there are DEACTIVATED tests?

as of now, we see only that the active tests succeeded. We have to open the doRUnit.Rout to check the amount of DEACTIVATED tests. I'm sure we will forget about them when no other tests fail.