I found a curious Reporter, JunitReporter in the NEWS of the next version of testthat package and tried to use it, but I couldn't find the good way to work with Reporters.
Since Googling around and ?Reporters didn't help, I searched other people's codes on GitHub and anticipated the code will be something like this:
test_check("mypackage",
reporter = JunitReporter$new(file = "junit_result.xml"))
But, I'm not sure this is the right way... Are there any good documentations about how to use (or implement) Reporters? Any suggestions are appreciated.
