speculoos icon indicating copy to clipboard operation
speculoos copied to clipboard

Fluent test assertions for Rust.

Results 4 speculoos issues
Sort by recently updated
recently updated
newest added

I noticed there are no matches for HashSet (like there are for HashMap). It would be nice to add some in there for HashSets.

it would be nice to have [soft assertions](https://joel-costigliola.github.io/assertj/core/api/org/assertj/core/api/SoftAssertions.html). The API could look like this : ```rust let softly = SoftAssertions::new(); softly.assert_that(mansion.guests()).as("Living guest").is_equal_to(7); softly.assert_that(mansion.kitchen()).as("Kitchen").is_equal_to("clean"); softly.asser_that(mansion.library()).as("Library").is_equal_to("clean"); softly.assert_all(); ``` resulting in the following...

enhancement

The [pretty assertion crate](https://crates.io/crates/pretty_assertions) is helpful when dealing with large text assertions. The current `assert_that` implementation panic on failed assertions so it's not compatible with pretty_assertion out of the box....

enhancement

Hi, these are some changes I noticed as I read through the code-base Thanks for the great library, it has become something I reach for when I'm writing tests in...