Loading…
useR! 2024
Attending this event?
In Person & Virtual
8 - 11 July, 2024
Learn more and Register to Attend

The Sched app allows you to build your schedule but is not a substitute for your event registration. You must be registered for useR! 2024 to participate in the sessions. If you have not registered but would like to join us, please go to the event registration page to purchase a registration.

Please note: This schedule is automatically displayed in Central European Time (UTC+1)To see the schedule in your preferred timezone, please select from the drop-down menu to the right, above "Filter by Date." The schedule is subject to change.
Wednesday, July 10 • 15:00 - 15:20
Getting the Most Out of Test-Driven Development for Shiny - Jakub Sobolewski, Appsilon

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Tests are not only a way of catching bugs but also a way of building software. During the talk, I’ll share how we can use Test-Driven Development to build Shiny apps. We’ll start with tips on gathering requirements in a format that is easy to translate to test cases. Implementing requirements as automated tests helps us get confidence we’ve built the correct code. This is crucial when using Shiny in enterprise, when producing incorrect results may cost dearly. I’ll introduce patterns that help us separate test code from implementation details, making tests more durable. We’ll discuss ways we can shape test code to build specifications that read almost like natural language. Furthermore, we’ll talk about how to use shinytest2 effectively and what the alternatives are for robust testing of Shiny apps. Even if you don’t plan to employ Test Driven Development, you’ll be able to reuse the same patterns to produce more durable tests that document the app's behavior.

Speakers
avatar for Jakub Sobolewski

Jakub Sobolewski

Mr, Appsilon
Jakub is a senior engineer at Appsilon. He has a background in applied physics. Before Appsilon he worked in insurance and banking as an analyst. Maintainer of the shiny.react and shiny.fluent packages.


Wednesday July 10, 2024 15:00 - 15:20 CEST
Salzburg I
Feedback form isn't open yet.