Open maelle opened 3 years ago
Yes, good and important ideas. I generally design tests to only call exported functions, and try to avoid direct testing of internal functions as much as possible. But this package, and all of the internal test functions in particular, is a good argument for direct testing of those. And designing and testing an epic-fail package is obviously also important.
As a check contributor, I'd find it less daunting if I could start with a really small test and then I'd include my check to the machinery (and it'd turn up in the less unit unit test).
Addressing #40 and associated changes has gone some way towards this. All pkgchk_
functions now take the same much more standardised input. That input has not yet been documented, but that's very high on priority list, and once that's done, this issue can then be addressed much more cleanly. It's all getting there ...
Thoughts?