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

Implement test_local() #1084

Merged
merged 8 commits into from
Jul 7, 2020
Merged

Implement test_local() #1084

merged 8 commits into from
Jul 7, 2020

Conversation

hadley
Copy link
Member

@hadley hadley commented Jul 5, 2020

Also eliminates need for devtools.

  • Add news bullet
  • Figure out why test_local(".") gives different results to devtools::test() on testthat itself

Fixes #1030

@hadley hadley marked this pull request as ready for review July 6, 2020 14:52
@hadley hadley requested a review from gaborcsardi July 6, 2020 14:52
Copy link
Member

@gaborcsardi gaborcsardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Looking forward to this instead of running source("testthat.R") in /tests. :)

NEWS.md Outdated Show resolved Hide resolved
R/test-directory.R Show resolved Hide resolved
@hadley hadley merged commit b85897e into master Jul 7, 2020
@hadley hadley deleted the test_local branch July 7, 2020 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Have a test() function, similar to devtools::test()
2 participants