Skip to content

feat: provide is_in assertions for all types that implement PartialEq - #100

Merged
haraldmaida merged 7 commits into
mainfrom
feat/is-in-assertion
Sep 27, 2026
Merged

haraldmaida merged 7 commits into
mainfrom
feat/is-in-assertion

Conversation

@haraldmaida

@haraldmaida haraldmaida commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

The is_in assertion checks whether a subject is contained in an collection or iterator of expected values.

If the subject is of type S and the expected values in the collection or iterator are of type E, than S must implement PartialEq<E>.

@haraldmaida haraldmaida self-assigned this Sep 27, 2026
@haraldmaida haraldmaida added the enhancement New feature or request label Sep 27, 2026
@codecov

codecov Bot commented Sep 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.53488% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.84%. Comparing base (fc6dd73) to head (e7b7a25).

Files with missing lines Patch % Lines
src/derived_spec/mod.rs 25.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
- Coverage   87.84%   87.84%   -0.01%     
==========================================
  Files          42       43       +1     
  Lines        7513     7600      +87     
  Branches     7513     7600      +87     
==========================================
+ Hits         6600     6676      +76     
- Misses        843      854      +11     
  Partials       70       70              

☔ View full report in Codecov by Harness.
📢 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 dd50fb6 into main Sep 27, 2026
20 checks passed
@haraldmaida
haraldmaida deleted the feat/is-in-assertion branch September 27, 2026 18:38
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