shinytest - Automated testing for Shiny apps

This is a companion discussion topic for the original entry at https://www.rstudio.com/blog/shinytest-automated-testing-for-shiny-apps


Continuing our series on new features in the RStudio v1.2 preview release, we would like to introduce shinytest. shinytest is a package to perform automated testing for Shiny apps, which allows us to:
Record Shiny tests with ease.
Run and troubleshoot Shiny tests.
shinytest is available on CRAN, supported in RStudio v1.2 preview and can be installed as follows:
install.packages("shinytest") Recording Tests This is the general procedure for recording tests: