Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/indrajeetpatil/intro-to-snapshot-testing
- Owner: IndrajeetPatil
- License: cc0-1.0
- Created: 2022-08-04T05:45:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-27T01:08:14.000Z (10 days ago)
- Last Synced: 2024-10-27T02:19:52.545Z (10 days ago)
- Topics: golden-tests, quarto, revealjs, rstats, snapshot-testing, testthat, unit-testing
- Language: HTML
- Homepage: https://indrajeetpatil.github.io/intro-to-snapshot-testing/
- Size: 39.5 MB
- Stars: 21
- Watchers: 3
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
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 filesSlides 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.