Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRStudio IDE "Run Tests" with failed expectation generates IDE error #295
Comments
|
Jonathan pointed out that we could add a check into the shinytest package that checks the version of the IDE and presents a warning if it thinks there are going to be issues. |
|
Given the overall development resources available to shinytest and the fact that this will naturally resolve itself as people upgrade the ide, I think it's best just to close this issue. |
In the RStudio IDE:
tests/dirshinytests::recordTest()Observe this error.
I think this is where the IDE is going wrong. Appending
tests/to the app path and looking in there. As noted in #293, the IDE is already pointing to the wrong appdir path; now appending another invalid path to that one.From the IDE diagnostics, we're getting that butchered path which didn't go up far enough (i.e. the appdir is
___/tests/) and now we're assuming that the terminal dir is inevitably calledtestswhich gets appended. Thus we're looking forapp/tests/tests/mytest.Rwhich, of course, doesn't exist.