Rperform icon indicating copy to clipboard operation
Rperform copied to clipboard

other kinds of tests

Open tdhock opened this issue 9 years ago • 1 comments

Hey @analyticalmonk one day you may want to think about how Rperform can be customized to get test-level metrics for packages that use something other than testtthat. for example I guess the data.table maintainers would be interested in using Rperform, but they do not use testthat https://github.com/Rdatatable/data.table/blob/master/inst/tests/tests.Rraw

tdhock avatar Jul 07 '16 17:07 tdhock

Definitely worth looking into some time in the near future.

@tdhock I just had a vague thought after skimming through the test file you linked to above. Maybe we can specify a placeholder of sorts which can be put before and after a code block which is to be tested. That way, Rperform can know which blocks to test and can work with them just like it does with testthat blocks. I am not exactly sure how something like this can be done though. But such an approach will be worth looking into it whenever I start working on solving this issue.

analyticalmonk avatar Jul 07 '16 18:07 analyticalmonk