-
Notifications
You must be signed in to change notification settings - Fork 318
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
Not accurate test counting in normal and Rmarkdown runs #1898
Comments
I don't really understand what you're asking here. Counting tests isn't an advertised feature of testthat. |
The top line is test_package() being ran and assigned to a variable in an instance of R. The line under that is putting the variable into a dataframe. The 'passed' results in the dataframe come out to be 1520 and not 1544 as it says in command line. |
#1366 (comment) This is a close answer to what I am trying to find but what if a test errors? I would have to manually count expectations I presume? |
I don't ever use that functionality, so I don't have any insight, sorry. |
Hey all, I have been trying to get an accurate test count on testthat package testing but seem to be running into faults. When running a test it may give numbers like shown below on the command line but when put into a dataframe the results are missing 26 tests. Where are these test numbers going? How is the result on the command line different from the actual variable assigned results? Thanks.
The text was updated successfully, but these errors were encountered: