You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could/should we just make an empty test name an error unconditionally? (or maybe make it a warning and then upgrade it to an error in a couple of years)
Currently, testthat accepts empty strings as test names, but this causes issues with snapshot tests. For example:
But every time this test file is run, testthat doesn't recognize the existing snapshot file, and so always prints:
One user encountered this during the package development workshop at posit::conf, so learners might unintentionally fall into this trap.
The text was updated successfully, but these errors were encountered: