Ways to run tests

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