Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

other kinds of tests #24

Open
tdhock opened this issue Jul 7, 2016 · 1 comment
Open

other kinds of tests #24

tdhock opened this issue Jul 7, 2016 · 1 comment
Assignees

Comments

@tdhock
Copy link

tdhock commented Jul 7, 2016

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

@analyticalmonk
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants