https://github.com/cljoly/rusqlite-snapshot-testing
Snapshot testing tool for rusqlite
https://github.com/cljoly/rusqlite-snapshot-testing
rusqlite rust sqlite wip
Last synced: 6 months ago
JSON representation
Snapshot testing tool for rusqlite
- Host: GitHub
- URL: https://github.com/cljoly/rusqlite-snapshot-testing
- Owner: cljoly
- License: mpl-2.0
- Created: 2025-03-29T17:00:02.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-03-29T17:23:55.000Z (6 months ago)
- Last Synced: 2025-03-29T18:28:20.000Z (6 months ago)
- Topics: rusqlite, rust, sqlite, wip
- Homepage: https://cj.rs/rusqlite-snapshot-testing
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rusqlite Snapshot Testing
[][docs]
[][cio]Tool to perform snapshot testing on an SQLite database, using [rusqlite][].
The goal is to expose both data and the schema in the snapshots. It is also compatible with [Insta Snapshots][insta]
**This is experimental software, expect breaking changes between 0.x versions, consistent with the semver rules for Rust.**
## Background reading on snapshot testing.
- https://ianthehenry.com/posts/my-kind-of-repl/
- https://tigerbeetle.com/blog/2024-05-14-snapshot-testing-for-the-masses/
- https://blog.janestreet.com/the-joy-of-expect-tests/[cio]: https://crates.io/crates/rusqlite-snapshot-testing
[docs]: https://docs.rs/rusqlite-snapshot-testing
[insta]: https://insta.rs
[rusqlite]: https://crates.io/crates/rusqlite