yonicd / covrpage

Create a summary readme for the testthat subdirectory to communicate with potential users
https://yonicd.github.io/covrpage/
Other
52 stars 7 forks source link

create dummy package examples for failed and skipped tests #26

Closed yonicd closed 5 years ago

yonicd commented 6 years ago

have dummy packages that can be used in examples and vignettes to show how the outputs to such outcomes should be used and interpreted.

maelle commented 6 years ago
yonicd commented 5 years ago

there is a dummy benchmark package in the tests/assets/benchmark folder.

remedy is a good example for skipping tests, even covrpage is a good example for skipping tests (nearly all cant be run on travis)

there are cases when developers skip problem tests on purpose just to get it to run on the non-problematic ones.

I actually asked this very question of the validity of a package on twitter and only @colinfay responded.

maelle commented 5 years ago

I don't see skipped tests in https://github.com/ThinkR-open/remedy/tree/master/tests#tests-and-coverage, what URL should I use in the vignette? I'm thinking using the examples you mention will be more doable than my creating packages.

Yeah Twitter is not always the best place for questions. :wink:

maelle commented 5 years ago

I can't open the submodule in https://github.com/yonicd/covrpage/tree/master/tests/assets, so for that, what URL should be used for the vignette?

yonicd commented 5 years ago

Not sure why it is locking that directory

yonicd commented 5 years ago

I’ll open a few repos that we can use covrpage_example_skip covrpage_example_fail

yonicd commented 5 years ago

covrfail covrwarn