29 releases

0.12.0 Oct 19, 2019
0.11.0 Nov 12, 2018
0.10.0 May 21, 2018
0.9.2 Jan 21, 2018
0.2.2 Jul 16, 2015

#225 in Testing

Download history 962/week @ 2023-11-20 786/week @ 2023-11-27 853/week @ 2023-12-04 1124/week @ 2023-12-11 882/week @ 2023-12-18 723/week @ 2023-12-25 834/week @ 2024-01-01 846/week @ 2024-01-08 1225/week @ 2024-01-15 1875/week @ 2024-01-22 1052/week @ 2024-01-29 1444/week @ 2024-02-05 1338/week @ 2024-02-12 1149/week @ 2024-02-19 1269/week @ 2024-02-26 1435/week @ 2024-03-04

5,308 downloads per month
Used in 31 crates (30 directly)

MIT/Apache

37KB
896 lines

expectest

Docs | Examples | Changelog | Crates.io

This project is inspired by Nimble for Swift. It provides matchers and matcher functions to express expectations in tests for common cases, such as: Equality, Order, Option, Result, etc. The crate also provides instruments to implement custom matchers for your project's domain.

Alternative crates

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~155KB