Skip to content
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
Closed

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

jennybc opened this issue Oct 5, 2017 · 0 comments
Labels
feature a feature request or enhancement

Comments

@jennybc
Copy link
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:

@hadley hadley added the feature a feature request or enhancement label Oct 5, 2017
@hadley hadley closed this as completed in 6c0c047 Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants