A Robust Framework for Automated Shiny App Testing
summary
Automated regression scripts replace manual pre- and post-deployment checks, using shinytest2 for local snapshots and Selenium (with rvest for scraping) for headless post-deploy verification; test artifacts include screenshots and JSON UI snapshots. A small ice-cream demo app and GitHub repo contain the exact scripts. Deployment lead time drops from five days to five hours after adoption, and tests run consistently and programmatically so pass/fail decisions require no subjective human judgment.
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
20mOld Apps, New Tricks: How AI can write Automated Tests for your Shiny Apps
18m{shinytest2}: Unit testing for Shiny applications
19mThe Road to Easier Shiny App Deployments
14mR Shiny - From Conception to the Cloud
01h 32mCreating Production-Ready Shiny Apps
05mCI/CD Pipelines - Oh, the Places You'll Go!
53mTransforming testing methodologies: From manual to robust strategies
