A Robust Framework for Automated Shiny App Testing
summary
A reproducible pipeline that automates pre- and post-deployment checks for production Shiny apps using shinytest2 and Selenium, plus rvest and testthat for assertions and scraping. The system runs scripted UI interactions, captures screenshots and JSON snapshots, and stores artifacts in a repo with GitHub examples and an ice cream demo app. Deployment time drops from five days to five hours in one case, and test logic becomes consistently repeatable across runs.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:11Manual testing challenges
- 4:45Tools for automated testing
- 6:09Automated testing pipeline
- 7:33Key principles of testing
- 9:18When automation fits
- 10:19Live demo: pre-deployment with shinytest2
- 12:25Live demo: post-deployment with Selenium
- 13:57Benefits and future
related talks
15mA Robust Framework for Automated Shiny App Testing
18m{shinytest2}: Unit testing for Shiny applications
20mOld Apps, New Tricks: How AI can write Automated Tests for your Shiny Apps
01h 32mCreating Production-Ready Shiny Apps
14mR Shiny - From Conception to the Cloud
19mThe Road to Easier Shiny App Deployments
05mCI/CD Pipelines - Oh, the Places You'll Go!
20mWhat I learned from running Shiny in production
