Four levels of testing for shiny apps
You should always strive to work at the lowest possible level so your tests are as fast and robust as possible.
- Non-reactive functions
- Server function tests by validating the flow of reactivity.
- JavaScript by running the app in a background web browser.
- App visuals by saving screenshots of selected elements (fragile).