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

R language not represented and should be with testthat and unittest #100

Open
malcook opened this issue Jun 3, 2016 · 4 comments
Open

Comments

@malcook
Copy link

malcook commented Jun 3, 2016

https://github.com/hadley/testthat
and
https://cran.r-project.org/web/packages/RUnit/index.html
??

@mblayman
Copy link
Member

mblayman commented Jun 4, 2016

@malcook, thanks for the suggestion!

I looked briefly at the documentation for both of these tools and found no indication that either tool produces or consumes TAP output. The list of test tools on the TAP producers and consumers page are for tools that are specifcally capable of producing TAP output. Those pages are not intended to be an exhaustive listing of all testing tools.

Am I mistaken? If those tools do produce or consume TAP and I missed that in the documentation, then, awesome, they would be worthy additions. If they don't, we can close out the issue until they do support TAP.

@malcook
Copy link
Author

malcook commented Jun 4, 2016

Hi @mblayman - I think you are mistaken

testthat can be a producer: c.f. http://www.inside-r.org/packages/cran/testthat/docs/TapReporter

unittest too: c.f. https://cran.r-project.org/web/packages/unittest/index.html "Concise TAP (http://testanything.org/) compliant unit testing package."

@mblayman
Copy link
Member

mblayman commented Jun 4, 2016

Glad I'm mistaken. testthat is clearly a TAP producer based on that link. Looks like RUnit and unittest are separate packages. Is that right or am I missing some connection?

My apologies for bumbling around with this. I'm not an R user and am not adept at navigating the language's documentation

@malcook
Copy link
Author

malcook commented Jun 4, 2016

Hi - no problem - I appreciate your efforts - worthy cause - glad to contribute - ​yes they are separate packages - the primary testing frameworks in R are not ground in TAP but they both can optionally generate TAP.

This is likely to be all there is, based on scanning the R package libraries. Look: https://goo.gl/moS3Lp

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

No branches or pull requests

2 participants