Workshop: Cypress Testing Masterclass - Let the Bots Test While You Rest | ShinyConf 2024 @appsilon_official
Workshop: Cypress Testing Masterclass - Let the Bots Test While You Rest | ShinyConf 2024  @appsilon_official
Uploaded March 2025 | Updated September 2026, 2 weeks ago
#ShinyConf #ShinyConf2024

Abstract: Every production application should be well-tested and have automated checks and tests in place making sure the growing features do not break something.
Unit tests are great to test R code and logic in your shiny apps. End-to-end tests are important too, I think of them as the first line of defense against bugs. There are strengths to having both of these in your shiny app and we'll see what they are and when to use them.
There are a few hurdles for writing cypress end-to-end tests for a shiny app that we will overcome. A major one is the fact that cypress tests require some knowledge of JS.

In this talk, I would like to answer these questions:
1. What are the advantages of end-to-end tests over unit tests?
2. Why cypress and not shinytest2?
3. What JS prerequisite is needed to use cypress?
4. How to set up npm and cypress?
5. How to add tests using cypress?
6. How to set up CI for your cypress tests using GitHub actions?

____________________________

Join us this year! Sign up for ShinyConf 2025 here: go.appsilon.com/register-shinyconf2025
Workshop: Cypress Testing Masterclass - Let the Bots Test While You Rest | ShinyConf 2024Everyone Needs a Shiny App Planning Document | ShinyConf 2024The Impact of Test Automation in Pharma for GxP ValidationColin Fay, Keynote: Production is like ultra running: brutal, ungrateful, but worth every stepUsing Shiny in a climate-smart agriculture grant program | ShinyConf 2024{litter}; dynamic inputs for Shiny | ShinyConf 2024From SAS to Open Source: How to Build an AI-Ready Clinical ADaM PipelineUntangling Biology: The Power of Data Analysis Pipeline with Aga RasinskaWorkshop: Transferring your R Shiny skills to Python | ShinyConf 2025Watch our #proofofconcept with BMC! #lifescience #machinelearning #clinicians #dataanalysisTan Ho:  DIY Pest Control: Effectively Debugging Shiny AppsShiny app as a novel assessment tool for pilots in training | ShinyConf 2024
Appsilon |

Workshop: Cypress Testing Masterclass - Let the Bots Test While You Rest | ShinyConf 2024

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER