Ways to run tests
- Running each line interactively at the console.
- Running the whole test block, expecting to see a
Test passed 😀
.
- Running all of the tests for the current file using
devtools::test_file()
.
- Running all of the tests for the whole package using
devtools::test()
.