Open
Description
From #307 (comment)
Am I correct that the main three cases we care about are:
- Writing tests for a nontrivial app that is in an app.R
- Writing tests for a nontrivial app that is using golem/rhino(?)
- Writing tests for trivial apps that exercise some feature or component that is not specific to a single app
The kind of cross-process de/serialization that this PR is fixing, totally makes sense to me for case 3. It makes me a lot less comfortable if people are relying on it for case 2. I'd love to see us make a formal recommendation for using shinytest2 with golem/rhino that doesn't involve serializing any code objects.