Skip to content

feat: expectation combinators All and Any#54

Merged
haraldmaida merged 6 commits into
mainfrom
feat/all-any-combinator-expectations
Jun 21, 2025
Merged

feat: expectation combinators All and Any#54
haraldmaida merged 6 commits into
mainfrom
feat/all-any-combinator-expectations

Conversation

@haraldmaida
Copy link
Copy Markdown
Member

Projects might want to write custom expectations by combining multiple existing expectations with logical operators. This can be achived by providing expectation combinators such as All and Any.

Implemented expectation combinators All and Any. To create combined expectations the functions all() and any() are provided as a more convenient way to crate combined expectations.

@haraldmaida haraldmaida self-assigned this Jun 21, 2025
@haraldmaida haraldmaida added the enhancement New feature or request label Jun 21, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 21, 2025

Codecov Report

Attention: Patch coverage is 93.57798% with 7 lines in your changes missing coverage. Please review.

Project coverage is 96.30%. Comparing base (9018721) to head (6f6c1a6).

Files with missing lines Patch % Lines
src/expectation_combinators/mod.rs 91.13% 1 Missing and 6 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
- Coverage   96.31%   96.30%   -0.02%     
==========================================
  Files          31       32       +1     
  Lines        4130     4227      +97     
  Branches     4130     4227      +97     
==========================================
+ Hits         3978     4071      +93     
+ Misses        112      110       -2     
- Partials       40       46       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@haraldmaida haraldmaida merged commit 9119cda into main Jun 21, 2025
19 of 20 checks passed
@haraldmaida haraldmaida deleted the feat/all-any-combinator-expectations branch June 21, 2025 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant