New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide way to determine if execution is via `testthat::test_*()` #631

Closed
jennybc opened this Issue Oct 5, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@jennybc
Member

jennybc commented Oct 5, 2017

Can testthat provide a way to determine if execution is inside testthat::test_*()? This would be useful when running tests semi-interactively, such as test(filter = "foo") in the Console:

  • You want to disable a progress reporter (tidyverse/reprex#111).
  • You want to NOT ask the user for permission to do something.

@hadley hadley added the feature label Oct 5, 2017

@hadley hadley closed this in 6c0c047 Oct 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment