Tag
Topics
Learn how to write Then steps that assert outcomes without coupling to implementation. Build custom testthat expectations and keep your BDD assertions at the right level.
Learn how to write When steps that describe user actions without leaking implementation details. Build a clean DSL that survives UI refactors and keeps specifications readable.
Learn how to set up test preconditions in Shiny BDD using Given steps. Master dependency injection, test doubles, and composable setup patterns for reliable R testing.
When shinytest2's `set_inputs()` won't work, leverage widget APIs directly. Learn to write cleaner, faster and more robust tests using JavaScript APIs.
Follow each step as I develop a form with Shiny and Behavior-Driven Development. Learn practical techniques for better software design through automated tests.
Code organization and deployment strategy for multiple Shiny apps sharing common logic within a single R package. Structuring your project in a monorepo format.
A Practical Guide to Faking External Dependencies and Business Logic with R6 Classes for Reliable Tests.
A step-by-step guide to stronger R Shiny testing with stable selectors and reusable actions.
Adding Cucumber specifications to an existing application? Learn how to write Gherkin scenarios that focus on user behavior, not implementation details. Use AI to iterate faster.
Learn how to build scalable and maintainable code by abstraction and information hiding, improving flexibility and ease of future changes.
Learn how to apply Acceptance Test-Driven Development (ATDD) to build robust Shiny applications using {shinytest2} and {selenider}.
Learn how to speed up Shiny app tests using shinytest2 by reusing application instances and refreshing the browser.
Learn how to manage state in Shiny modules using a React-inspired approach with event handlers for better control and flexibility.
Learn how to create resilient E2E test selectors in Shiny apps using data-* attributes and best practices.
Learn how to export data to Excel in Shiny apps and use snapshot tests to validate and inspect the exported workbooks.
Learn how to use tests to develop Shiny modules efficiently, ensuring faster development cycles and better modularization.
Learn how to set up Cucumber with Cypress in Rhino projects for clear and maintainable end-to-end tests.
Learn how to write BDD style tests for Shiny module servers using R6 and testServer to improve readability and maintainability.
Learn how to implement real-time input validation in Shiny apps using Bootstrap Form Validation API for immediate feedback.
Learn how to apply acceptance test-driven development (ATDD) to build robust Shiny modules with R6 and shinytest2.
Learn how to effectively test Shiny modules using shiny::testServer with examples and best practices.
Learn how to extend Shiny modules in legacy code using the Sprout Technique and Test Driven Development.
Learn how we built an app prototype with 96% code coverage in just 2 weeks using TDD and effective testing strategies.