Site icon R-bloggers

Choosing the Best Library for Acceptance Testing Shiny Apps: {shinytest2} vs Cypress

[This article was first published on jakub::sobolewski, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

There are a few library options when it comes to writing acceptance tests for Shiny apps.

It’s a good idea to make a conscious decision which one to use at the start of the project as changing the library after writing a lot of tests will be costly.

Let’s compare two choices: {shinytest2} and Cypress.

I’ve used each of them in different projects. Let’s explore what you might expect from choosing one over the other.

⚠️ The following list is based on my experience and some points are opinions rather than an objective truth. Take it into account when considering this list. ⚠️

{shinytest2}

Cypress

My recommendation

If you have a chance, try both.

In my opinion both are good choices and you might just find that one suits you (and your team) better than the other.

To leave a comment for the author, please follow the link and comment on their blog: jakub::sobolewski.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Exit mobile version