Repository navigation
0.18.0
- [Breaking] The minimum supported Rust version was increased to 1.32, after upgrading the rand crate dependency to 0.7.0.
- Introduced
Matcher::AllOf, which can be used to check a set of matchers in conjunction. It works in a similar way to the existingMatcher::AnyOf. - Introduced
Matcher::UrlEncodedto match key/value pairs in URL-encoded strings. - Introduced
Mock#match_queryto be able to match the URL query part distinctly from the path. The function supports all known matchers but works best withMatcher::UrlEncoded. The old behaviour of matching the query as part of the path argument in amockcall has been preserved, but usingMock#match_queryhas the effect of overriding that.
🎈 🎈 🎈