Skip to content

Commit

Permalink
Add rstudio plugins for test_file and test_coverage_file
Browse files Browse the repository at this point in the history
  • Loading branch information
jimhester authored and HughParsonage committed Jul 2, 2019
1 parent ed7643b commit e3be801
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# devtools 1.13.3.9000

* `test_file()` and `test_coverage_file()` now have RStudio addins (#1650)

* `test()` no longer passes encoding argument to `testthat::test_dir()` (#1776)

* `install_url()` can now install package binaries on windows (#1765)
Expand Down
9 changes: 9 additions & 0 deletions inst/rstudio/addins.dcf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Name: Run a test file
Description: Run the current test file, using `devtools::test_file()`.
Binding: test_file
Interactive: false

Name: Calculate test coverage for a file
Description: Calculate test coverage for the current test file, using `devtools::test_coverage_file()`.
Binding: test_coverage_file
Interactive: false

0 comments on commit e3be801

Please sign in to comment.