For writing tests for shiny create we intend to use a temp directory and it would be easy if shiny create allows user to pass a dir or -d flag that user can specify the directory of the app.
The tests will invoke shiny create via the command line/shell to test true E2E and then start the app to check for console errors.
@gshotwell