unitizer
unitizer copied to clipboard
Easy R Unit Tests
Currently we stop after the first one; any reason not to show them all?
The key thing to clarify is that the conditions likely contain the stderr that was not otherwise captured. This is now needed due to changes in #286.
During test evaluation, we see on hitting Q ``` | Unexpectedly exited evaluation attempt when executing test expression: | > identical(group_exec(r2c_sum, sort(g), x, sorted = TRUE), c(tapply(x, | sort(g), sum)))...
Would allow using comments as a sort of subsection, for example in: ``` ## A comment test1 test2 ## extra test3 ## Another comment test4 test5 ``` The review prompts...
Main complication is to figure out if there is a way to automatically use diffobj if it is available without requiring at a minimum a `suggests` dependency. We really need...
Right now they're controlled all over the place, for diffobj output, for comments, and for test status in test browse listing. If any other places end up using color it...
Currently not entirely sure when `on.exit` would get called. Maybe after eval of that same expression? Based on this it would seem so: ``` > eval(quote(on.exit(cat('hello\n')))) hello ``` If so...
e.g. in `alike(x=1)` using `editCalls(..., quote(x), quote(y))` won't do anything.