expect-test

Crates.ioexpect-test
lib.rsexpect-test
version1.5.1
created_at2020-08-20 16:20:18.575214+00
updated_at2024-12-21 13:05:32.571711+00
descriptionMinimalistic snapshot testing library
homepage
repositoryhttps://github.com/rust-analyzer/expect-test
max_upload_size
id278753
size40,829
rust-analyzer (github:rust-analyzer:rust-analyzer)

documentation

README

expect-test

Docs

Minimalistic snapshot testing for Rust.

Updating a failing test:

https://user-images.githubusercontent.com/1711539/120119633-73b3f100-c1a1-11eb-91be-4c61a23e7060.mp4

Adding a new test: Just leave a blank expect![[""]] and update it:

expect-fresh

Checkout the docs for more: https://docs.rs/expect-test.

Commit count: 79

cargo fmt