RStudio hotkeys: Tests
Tools > Modify keyboard shortcuts...
- Current
.R
file (or corresponding testthat file)- “Run a test file”:
Ctrl + T
- “Report test coverage for a file”:
Ctrl + R
- “Run a test file”:
- Entire package
- “Test package”:
Ctrl + Shift + T
- “Report test coverage for a package”:
Ctrl + Shift + R
- “Test package”:
More in chapter 13!