Open utterances-bot opened 4 years ago
It's a great way to write tests! You can overcharge it with something like
functions <- list(function1, function2, function3)
lapply(functions, test_wrong_input)
@eliocamp that is a very good point!
Refactoring Tests
My R adventures.
https://www.hvitfeldt.me/blog/refactoring-tests/