#testing #tests #matcher #expect

dev expectest

Crate provides matchers and matcher functions for unit testing

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

#69 in Testing

Download history 116/week @ 2020-11-07 99/week @ 2020-11-14 125/week @ 2020-11-21 107/week @ 2020-11-28 115/week @ 2020-12-05 68/week @ 2020-12-12 59/week @ 2020-12-19 976/week @ 2020-12-26 1127/week @ 2021-01-02 480/week @ 2021-01-09 121/week @ 2021-01-16 413/week @ 2021-01-23 105/week @ 2021-01-30 353/week @ 2021-02-06 156/week @ 2021-02-13 149/week @ 2021-02-20

508 downloads per month
Used in 22 crates (21 directly)

MIT/Apache

36KB
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

~145KB