{shinytest2}: Unit testing for Shiny applications
summary
Automated regression testing for Shiny apps using shinytest2 which integrates with testthat and runs a headless Chrome via chromote to record interactions as reproducible R code. Tests run through an AppDriver that can record_test and replay inputs and clicks, export internal reactive values with exportTestValues, and optionally open a live Chrome view for debugging. Avoid heavy screenshot snapshots because they’re brittle, prefer explicit expect_* checks and guarded snapshot_file use.
AI-written summary · about
related talks
18m{shinytest2}: Unit testing for Shiny applications
15mA Robust Framework for Automated Shiny App Testing
20mOld Apps, New Tricks: How AI can write Automated Tests for your Shiny Apps
37mFront-end Testing for Skeptics
37mAdvanced Test Automation Techniques for Responsive Apps and Sites
45mEnd to End testing React applications
19mWorking Well: The Future of Web Testing
12mAutomation of GUI testing using visual regression testing
