Acceptance Test-Driven Development with Shiny

Learn how to apply Acceptance Test-Driven Development (ATDD) to build robust Shiny applications using {shinytest2} and {selenider}.

rshinytests
2 min read

I’ve created this Shiny project to showcase how I practice Acceptance Test-Driven Development with {shinytest2}. The app is very simple – calculate net income from income and expenses inputs. Even in such a simple example we can see:

💡 The best way to explore the repo is to go commit by commit listed in the README.

See how we can go from a failing test to a working app. I know, it’s a very simple app, but the same process can be applied to any project, no matter how complex it is.

Check it out here: https://github.com/jakubsob/shiny-acceptance-tdd