Join us at rstudio::conf(2022) to sharpen your R skills. | July 25-28th in D.C.
Learn More
rstudio::conf(2022) | July 25-28th in D.C. 7/25 - 7/28 in D.C.
The premier IDE for R
RStudio anywhere using a web browser
Put Shiny applications online
Shiny, R Markdown, Tidyverse and more
Next level training for you and your team
Do, share, teach and learn data science
An easy way to access R packages
Let us host your Shiny applications
A single home for R & Python Data Science Teams
Scale, develop, and collaborate across R & Python
Easily share your insights
Control and distribute packages
RStudio
RStudio Server
Shiny Server
R Packages
RStudio Academy
RStudio Cloud
RStudio Public Package Manager
shinyapps.io
RStudio Team
RStudio Workbench
RStudio Connect
RStudio Package Manager
Webinars
Testing Shiny applications with Shinytest - Shiny developers now have tools for automated testing of complete applications.
October 4, 2017
One of the most useful tools for deploying applications in production is an automated test system. Automated tests allow developers to be more confident when they modify their code, and it allows IT stuff to worry less that software upgrades will break existing applications.
Shiny developers now have tools for automated testing of complete applications, with the Shinytest package, so that you can be confident that your applications will keep operating as expected. Shinytest provides an easy-to-use test recorder that lets you create test scripts simply interacting with your application as usual. A test script represents user actions, and it plays back those actions with the application, using a headless browser. Shinytest records and saves the behavior of the application in response to these user actions. In the future, you run the test script again on the application, and the application's new behavior is compared to its previous behavior; if there are any changes, it will alert you so that you can inspect the new behavior, and either confirm that the new behavior is expected, or reject it and find the cause of the changed behavior.
Shinytest can be used with continuous integration so that applications are tested every time code is committed. This webinar is for anyone who wants to learn how to use automated tests to make their Shiny applications more reliable and have fewer surprises in production.
Download Materials
Winston is a software engineer at RStudio. He holds a Ph.D. in psychology from Northwestern University and is the author of R Graphics Cookbook, published by O’Reilly Media.