Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/indrajeetpatil/intro-to-snapshot-testing

Introduction to snapshot (aka golden) testing (in R)
https://github.com/indrajeetpatil/intro-to-snapshot-testing

golden-tests quarto revealjs rstats snapshot-testing testthat unit-testing

Last synced: about 18 hours ago
JSON representation

Introduction to snapshot (aka golden) testing (in R)

Awesome Lists containing this project

README

        

---
output: github_document
---

# Introduction to snapshot (aka golden) testing (in R)

In this presentation, I introduce what is snapshot testing, why is it necessary, and its implementation in R in `{testthat}` package and its extensions.

```{r, echo=FALSE, out.width="70%"}
knitr::include_graphics("media/logos_combined.jpeg")
```

In particular, the presentation provides a detailed account of how these tests are valuable in testing:

- text outputs
- graphical outputs
- Shiny apps
- entire files

Slides can be seen here:

Feedback and suggestions are welcome!

# Code of Conduct

Please note that the intro-to-snapshot-testing project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.