| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Test Results 37 files ± 0 37 suites ±0 2m 33s ⏱️ -9s Results for commit 44067f3. ± Comparison against base commit 84b7cb6. This pull request removes 10 and adds 28 tests. Note that renamed tests count towards both.FluentAssertions.Specs.Streams.StreamAssertionSpecs+HaveLength ‑ When_a_throwing_stream_should_have_a_length_it_should_fail(exception: System.ObjectDisposedException: Cannot access a disposed object. FluentAssertions.Specs.Streams.StreamAssertionSpecs+HaveLength ‑ When_a_throwing_stream_should_have_a_length_it_should_fail(exception: System.ObjectDisposedException: Cannot access a disposed object. FluentAssertions.Specs.Streams.StreamAssertionSpecs+HavePosition ‑ When_a_throwing_stream_should_have_a_position_it_should_fail(exception: System.ObjectDisposedException: Cannot access a disposed object. FluentAssertions.Specs.Streams.StreamAssertionSpecs+HavePosition ‑ When_a_throwing_stream_should_have_a_position_it_should_fail(exception: System.ObjectDisposedException: Cannot access a disposed object. FluentAssertions.Specs.Streams.StreamAssertionSpecs+NotHaveLength ‑ When_a_throwing_stream_should_not_have_a_length_it_should_fail(exception: System.ObjectDisposedException: Cannot access a disposed object. FluentAssertions.Specs.Streams.StreamAssertionSpecs+NotHaveLength ‑ When_a_throwing_stream_should_not_have_a_length_it_should_fail(exception: System.ObjectDisposedException: Cannot access a disposed object. FluentAssertions.Specs.Streams.StreamAssertionSpecs+NotHavePosition ‑ When_a_throwing_stream_should_not_have_a_position_it_should_fail(exception: System.ObjectDisposedException: Cannot access a disposed object. FluentAssertions.Specs.Streams.StreamAssertionSpecs+NotHavePosition ‑ When_a_throwing_stream_should_not_have_a_position_it_should_fail(exception: System.ObjectDisposedException: Cannot access a disposed object. Object name: 'GetLengthExceptionMessage'.) Object name: 'GetPositionExceptionMessage'.) FluentAssertions.Equivalency.Specs.CollectionSpecs+ComparingNullCollectionsAsEmpty ‑ A_non_empty_subject_collection_fails_when_the_expectation_is_null FluentAssertions.Equivalency.Specs.CollectionSpecs+ComparingNullCollectionsAsEmpty ‑ A_null_generic_list_subject_is_equivalent_to_an_empty_generic_list_expectation FluentAssertions.Equivalency.Specs.CollectionSpecs+ComparingNullCollectionsAsEmpty ‑ A_null_nested_collection_is_equivalent_to_an_empty_nested_collection FluentAssertions.Equivalency.Specs.CollectionSpecs+ComparingNullCollectionsAsEmpty ‑ A_null_subject_collection_fails_when_the_expectation_is_non_empty FluentAssertions.Equivalency.Specs.CollectionSpecs+ComparingNullCollectionsAsEmpty ‑ A_null_subject_collection_is_equivalent_to_an_empty_expectation FluentAssertions.Equivalency.Specs.CollectionSpecs+ComparingNullCollectionsAsEmpty ‑ An_empty_generic_list_subject_is_equivalent_to_a_null_generic_list_expectation FluentAssertions.Equivalency.Specs.CollectionSpecs+ComparingNullCollectionsAsEmpty ‑ An_empty_nested_collection_is_equivalent_to_a_null_nested_collection FluentAssertions.Equivalency.Specs.CollectionSpecs+ComparingNullCollectionsAsEmpty ‑ An_empty_subject_collection_is_equivalent_to_a_null_expectation FluentAssertions.Equivalency.Specs.CollectionSpecs+ComparingNullCollectionsAsEmpty ‑ Two_null_collections_are_equivalent FluentAssertions.Equivalency.Specs.CollectionSpecs+ComparingNullCollectionsAsEmpty ‑ Without_the_option_a_null_subject_collection_is_not_equivalent_to_an_empty_expectation … ♻️ This comment has been updated with latest results. |
Sorry, something went wrong.
Coverage Report for CI Build 25275762917Coverage decreased (-0.03%) to 97.142%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats💛 - Coveralls |
Sorry, something went wrong.
Qodana for .NETIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact us at qodana-support@jetbrains.com
|
Sorry, something went wrong.
…ptions to BeEquivalentTo Fixes #1938 by introducing two new equivalency options: - ComparingNullCollectionsAsEmpty(): treats null collections as equivalent to empty ones - ComparingNullStringsAsEmpty(): treats null strings as equivalent to empty strings Both options work for direct assertions and when the subject is nested inside an object graph. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Updated [FluentAssertions](https://github.com/fluentassertions/fluentassertions) from 8.9.0 to 8.10.0. <details> <summary>Release notes</summary> _Sourced from [FluentAssertions's releases](https://github.com/fluentassertions/fluentassertions/releases)._ ## 8.10.0 <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### Improvements * Fail with a descriptive error when path-based rules are used on value-semantic types by @dennisdoomen in fluentassertions/fluentassertions#3187 * Significantly speed up BeEquivalentTo for large unordered collections by @dennisdoomen in fluentassertions/fluentassertions#3188 * Add ComparingNullCollectionsAsEmpty and ComparingNullStringsAsEmpty options to BeEquivalentTo by @dennisdoomen in fluentassertions/fluentassertions#3202 * Include original index in extraneous item failure messages by @dennisdoomen in fluentassertions/fluentassertions#3203 ### Documentation * Reroute the docs link to Xceed by @dennisdoomen in fluentassertions/fluentassertions#3183 * Fix typo in release notes by @jnyrup in fluentassertions/fluentassertions#3194 * Fix typos in docs by @jnyrup in fluentassertions/fluentassertions#3197 ### Others * Bump flatted from 3.4.1 to 3.4.2 in the npm_and_yarn group across 1 directory by @dependabot[bot] in fluentassertions/fluentassertions#3184 * Add AI assistant instruction file (agents.md) for Copilot, Claude, and JetBrains Junie by @Copilot in fluentassertions/fluentassertions#3176 * Bump smol-toml from 1.6.0 to 1.6.1 in the npm_and_yarn group across 1 directory by @dependabot[bot] in fluentassertions/fluentassertions#3185 * Bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot[bot] in fluentassertions/fluentassertions#3186 * Bump cspell from 9.7.0 to 10.0.0 by @dependabot[bot] in fluentassertions/fluentassertions#3189 * Update nugets by @jnyrup in fluentassertions/fluentassertions#3192 * Fixup Qodana issues by @jnyrup in fluentassertions/fluentassertions#3193 * Fix Qodana argument separator by @jnyrup in fluentassertions/fluentassertions#3195 * Use new Qodana linter option by @jnyrup in fluentassertions/fluentassertions#3196 * Fix flaky BeLessThanOrEqualTo execution time test by @Copilot in fluentassertions/fluentassertions#3200 * Bump JetBrains/qodana-action from 2025.3 to 2026.1 by @dependabot[bot] in fluentassertions/fluentassertions#3201 * Use long for hashCode in ReferentialComparer to avoid overflow by @dennisdoomen in fluentassertions/fluentassertions#3204 **Full Changelog**: fluentassertions/fluentassertions@8.9.0...8.10.0 Commits viewable in [compare view](fluentassertions/fluentassertions@8.9.0...8.10.0). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dan Searle <dan_searle@outlook.com>
| Back | FazBrowse Home | New Git URL |
Closes #1938
Summary
Adds two new equivalency options to treat null as equivalent to empty in BeEquivalentTo comparisons:
Both options follow the existing gerund naming pattern (ComparingEnumsByName, ComparingRecordsByValue, etc.) and work symmetrically (either side may be null).
Usage