Closed maxheld83 closed 3 years ago
Maybe we make a second folder tree after the tests have been created? We could keep the first tree as it originally was.
will do
Going over the trees again, it occurs to me that there are really two sets of questions at play:
/inst
b. /R
(some function returns a shinyApp()
object)xxx.json
b. roll your own app <- ShinyDriver$new()
(the testthat way) as explained in mastering-shiny: your inputs and outputs exist right in test_that({}
.Parts of the tree only pertain to / result from 2a.
I can try and restructure the vignette along these differences, perhaps linking out for some details to mastering-shiny.
Otherwise, I think the original, unchanged trees make more sense and I'll close this.
This is the shinytest
package, so 2a makes a lot of sense.
I'd be grateful if you can hold the energy and put it towards shinytest2
in a few weeks. shinytest2
will be integrated with testthat
ed3 snapshots and move away from the ./tests/shinytest
folder.
test_path()
makes interactive use easier and brings behavior more in line with testthat workflow