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
An example of how to use shinytest2 with a shiny app created in the golem framework (I think it does not work out of the box since it needs an app.R file in the package directory?)
The text was updated successfully, but these errors were encountered:
It's possible to perform shinytest2 tests with golem apps, but it will produce the following warning message:
Warning message:
In shiny::loadSupport(app_dir, renv = renv, globalrenv = globalrenv) :
Loading R/ subdirectory for Shiny application, but this directory appears to contain an R package. Sourcing files in R/ may cause unexpected behavior.
This is due to how shinytest2 loads the application in setup-shinytest2.R (see this issue for more details).
The golem chapter now covers the results from unit, integration, and system tests.
An example of how to use
shinytest2
with a shiny app created in thegolem
framework (I think it does not work out of the box since it needs anapp.R
file in the package directory?)The text was updated successfully, but these errors were encountered: