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
Oh I opened this FR in response to an issue of having clickable hyperlinks not working with the Run Tests button. r-lib/testthat#1846
The this worfklow
get a warning that a snapshot test is failing or you just restarted session.
go to that test location
Click the run tests button
In this case, since load_all() was not run. snapshot_review()can't autocomplete. hence the need to typetestthat::snapshot_review()` by hand (because testthat is not loaded)
Hi,
I was wondering if devtools could export
testthat::snapshot_review()
?.It could improve the workflow a little when hyperlinks are buggy, see
rstudio/rstudio#13088, it would require less typing.
Maybe consider exporting
testthat::snapshot_accept()
also.Thanks
Edit: I can contribute a PR if you think this is reasonable.
The text was updated successfully, but these errors were encountered: