unitizer
unitizer copied to clipboard
Easy R Unit Tests
Might want to think of something more meaningful than just not comparing because the print value might modify a little. Consider: - `.new` produces output but `.ref` produced none -...
Thinking in particular of the options that control display lines, etc. Due to the option resetting, these are no longer during test evaluation, etc, which turns out is phenomenally annoying,...
``` expect_equal( fun1(a, b, c, d, e, f), # internal comment runif(20) ) # "external" comment ``` led to: ``` # internal comment fun1(a, b, c, d, e, f) #...
This is going to be a PITA to implement, so we're deferring for now. See the docs for the `pre.load` param for `unitize` for more details.
Unclear whether this is necessary or not.
Really the best way of running everything encapsulated, though we are still left with the problem of how to review the tests in their environment, so maybe this doesn't really...
Main benefit of doing this is that it makes it easy to see what tests have been modified directly from git, which would be helpful for collaborative projects. Unfortunately creates...