Skip to content

Replace FluentAssertions with AwesomeAssertions#2966

Merged
cotti merged 2 commits intomainfrom
chore/awesome-assertions
Mar 26, 2026
Merged

Replace FluentAssertions with AwesomeAssertions#2966
cotti merged 2 commits intomainfrom
chore/awesome-assertions

Conversation

@cotti
Copy link
Contributor

@cotti cotti commented Mar 25, 2026

Pretty much a drop-in replacement. Just a couple of calls changed their name slightly.

@cotti cotti self-assigned this Mar 25, 2026
@cotti cotti requested a review from a team as a code owner March 25, 2026 21:28
@cotti cotti added the chore label Mar 25, 2026
@cotti cotti requested a review from Mpdreamz March 25, 2026 21:28
@coderabbitai coderabbitai bot added dependencies and removed chore labels Mar 25, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 25, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 556a73a5-249e-40ea-9bbe-1572bdc9b9a0

📥 Commits

Reviewing files that changed from the base of the PR and between 9bdae9c and a2fbd3e.

📒 Files selected for processing (146)
  • tests-integration/Elastic.Assembler.IntegrationTests/AssemblerConfigurationTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/DocsSyncTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/NavigationBuildingTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/NavigationRootTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/Search/SearchBootstrapFixture.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/Search/SearchIntegrationTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/ServeStaticTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/SiteNavigationTests.cs
  • tests-integration/Elastic.Documentation.Api.IntegrationTests/AskAiGatewayStreamingTests.cs
  • tests-integration/Elastic.Documentation.Api.IntegrationTests/EuidEnrichmentIntegrationTests.cs
  • tests-integration/Elastic.Documentation.Api.IntegrationTests/OtlpProxyIntegrationTests.cs
  • tests-integration/Mcp.Remote.IntegrationTests/CoherenceToolsIntegrationTests.cs
  • tests-integration/Mcp.Remote.IntegrationTests/DocumentToolsIntegrationTests.cs
  • tests-integration/Mcp.Remote.IntegrationTests/DocumentUrlNormalizerTests.cs
  • tests-integration/Mcp.Remote.IntegrationTests/SearchToolsIntegrationTests.cs
  • tests-integration/Search.IntegrationTests/SearchRelevanceTests.cs
  • tests/Elastic.ApiExplorer.Tests/OpenApiDocumentExporterTests.cs
  • tests/Elastic.ApiExplorer.Tests/ReaderTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleAmendTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleChangelogsTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleLoading/BundleLoaderTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleProfileGitHubReleaseTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleReleaseVersionTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/ChangelogConfigurationTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/ChangelogRemoveTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/BasicInputTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/BlockingLabelTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/FlagsAndFeaturesTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/LabelMappingTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/PrFetchFailureTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/PrIntegrationTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/ReleaseNoteExtractionTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/ReleaseVersionTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/TitleProcessingTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/ValidationTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/RemoveReleaseVersionTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/BasicRenderTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/BundleValidationTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/ChecksumValidationTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/DuplicateHandlingTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/ErrorHandlingTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/HideFeaturesTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/HighlightsRenderTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/OutputFormatTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/TitleTargetTests.cs
  • tests/Elastic.Changelog.Tests/Creation/CIEnrichmentTests.cs
  • tests/Elastic.Changelog.Tests/Creation/FilenameStrategyTests.cs
  • tests/Elastic.Changelog.Tests/Creation/PrInfoProcessorLabelBlockerTests.cs
  • tests/Elastic.Changelog.Tests/Evaluation/ChangelogPrEvaluationServiceTests.cs
  • tests/Elastic.Documentation.Api.Infrastructure.Tests/Adapters/AskAi/StreamTransformerTests.cs
  • tests/Elastic.Documentation.Api.Infrastructure.Tests/Adapters/Search/StringHighlightExtensionsTests.cs
  • tests/Elastic.Documentation.Api.Infrastructure.Tests/Caching/DistributedCacheTests.cs
  • tests/Elastic.Documentation.Build.Tests/AssemblerBuildServiceTests.cs
  • tests/Elastic.Documentation.Build.Tests/IsolatedBuildServiceTests.cs
  • tests/Elastic.Documentation.Build.Tests/SitemapTests.cs
  • tests/Elastic.Documentation.Build.Tests/SymlinkValidationTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/AssemblyConfigurationMatchTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/CreateNavigationFileTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/CrossLinkRegistryTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/DocumentInferrerServiceTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/DocumentationSetFileTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/PhysicalDocsetTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/ReleaseNotes/ChangelogTextUtilitiesTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/ReleaseNotes/PublishBlockerExtensionsTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/SiteNavigationFileTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/VersionInferenceTests.cs
  • tests/Elastic.Markdown.Tests/AppliesTo/ApplicabilityTryParseTests.cs
  • tests/Elastic.Markdown.Tests/AppliesTo/ApplicableToJsonConverterRoundTripTests.cs
  • tests/Elastic.Markdown.Tests/AppliesTo/ApplicableToJsonConverterSerializationTests.cs
  • tests/Elastic.Markdown.Tests/AppliesTo/ProductApplicabilityToStringTests.cs
  • tests/Elastic.Markdown.Tests/Assembler/AssemblerHtmxMarkdownLinkTests.cs
  • tests/Elastic.Markdown.Tests/CodeBlocks/CallOutTests.cs
  • tests/Elastic.Markdown.Tests/CodeBlocks/CodeBlockArgumentsTests.cs
  • tests/Elastic.Markdown.Tests/CodeBlocks/CodeTests.cs
  • tests/Elastic.Markdown.Tests/CodeBlocks/ConsoleCodeBlockTests.cs
  • tests/Elastic.Markdown.Tests/Codex/CodexHtmxCrossLinkTests.cs
  • tests/Elastic.Markdown.Tests/CrossLinks/UriEnvironmentResolverTests.cs
  • tests/Elastic.Markdown.Tests/Directives/AdmonitionTests.cs
  • tests/Elastic.Markdown.Tests/Directives/AdmonitionUnsupportedTests.cs
  • tests/Elastic.Markdown.Tests/Directives/AgentSkillTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ApplicabilitySwitchTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ButtonTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogAnchorNavigationTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogBasicTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogConfigTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogHideLinksTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogMergeTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogMissingFileTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogPathResolutionTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogSubsectionsTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogTocFilteringTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogTypeFilterTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogVersionSortingTests.cs
  • tests/Elastic.Markdown.Tests/Directives/CsvIncludeTests.cs
  • tests/Elastic.Markdown.Tests/Directives/DirectiveBaseTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ImageCarouselTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ImageTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ListSubPagesTests.cs
  • tests/Elastic.Markdown.Tests/Directives/MathBlockTests.cs
  • tests/Elastic.Markdown.Tests/Directives/MermaidTests.cs
  • tests/Elastic.Markdown.Tests/Directives/TabTests.cs
  • tests/Elastic.Markdown.Tests/Directives/TableDirectiveTests.cs
  • tests/Elastic.Markdown.Tests/Directives/UnsupportedTests.cs
  • tests/Elastic.Markdown.Tests/Directives/VersionTests.cs
  • tests/Elastic.Markdown.Tests/DocSet/BreadCrumbTests.cs
  • tests/Elastic.Markdown.Tests/DocSet/NavigationTestsBase.cs
  • tests/Elastic.Markdown.Tests/DocSet/NestedTocTests.cs
  • tests/Elastic.Markdown.Tests/DocSet/RepositoryLinksTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/HeadingOrderTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/IncludeTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/IncludedAppliesSwitchTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/IncludedTabSetTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/LiteralIncludeTests.cs
  • tests/Elastic.Markdown.Tests/FileSystemExtensionsTests.cs
  • tests/Elastic.Markdown.Tests/FrontMatter/YamlFrontMatterTests.cs
  • tests/Elastic.Markdown.Tests/Inline/AutoLinkTests.cs
  • tests/Elastic.Markdown.Tests/Inline/ImagePathResolutionTests.cs
  • tests/Elastic.Markdown.Tests/Inline/InlineAnchorTests.cs
  • tests/Elastic.Markdown.Tests/Inline/InlineLinkTests.cs
  • tests/Elastic.Markdown.Tests/Inline/InlneBaseTests.cs
  • tests/Elastic.Markdown.Tests/Inline/SubstitutionTest.cs
  • tests/Elastic.Markdown.Tests/Interpolation/InterpolationTests.cs
  • tests/Elastic.Markdown.Tests/Mover/MoverTests.cs
  • tests/Elastic.Markdown.Tests/OutputDirectoryTests.cs
  • tests/Elastic.Markdown.Tests/PrettyHtmlExtensions.cs
  • tests/Elastic.Markdown.Tests/RootIndexValidationTests.cs
  • tests/Elastic.Markdown.Tests/Search/DocumentationDocumentSerializationTests.cs
  • tests/Elastic.Markdown.Tests/SettingsInclusion/IncludeTests.cs
  • tests/Navigation.Tests/Assembler/ComplexSiteNavigationTests.cs
  • tests/Navigation.Tests/Assembler/IdentifierCollectionTests.cs
  • tests/Navigation.Tests/Assembler/SiteDocumentationSetsTests.cs
  • tests/Navigation.Tests/Assembler/SiteNavigationTests.cs
  • tests/Navigation.Tests/Codex/CodexNavigationRenderingTests.cs
  • tests/Navigation.Tests/Codex/CodexNavigationTests.cs
  • tests/Navigation.Tests/Codex/GroupNavigationTests.cs
  • tests/Navigation.Tests/Isolation/ConstructorTests.cs
  • tests/Navigation.Tests/Isolation/DynamicUrlTests.cs
  • tests/Navigation.Tests/Isolation/FileInfoValidationTests.cs
  • tests/Navigation.Tests/Isolation/FileNavigationTests.cs
  • tests/Navigation.Tests/Isolation/FolderExcludeTests.cs
  • tests/Navigation.Tests/Isolation/FolderIndexFileRefTests.cs
  • tests/Navigation.Tests/Isolation/FolderSortOrderTests.cs
  • tests/Navigation.Tests/Isolation/NaturalStringComparerTests.cs
  • tests/Navigation.Tests/Isolation/NavigationStructureTests.cs
  • tests/Navigation.Tests/Isolation/PhysicalDocsetTests.cs
  • tests/Navigation.Tests/Isolation/ValidationTests.cs
✅ Files skipped from review due to trivial changes (97)
  • tests-integration/Elastic.Assembler.IntegrationTests/AssemblerConfigurationTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/NavigationRootTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/ServeStaticTests.cs
  • tests-integration/Elastic.Documentation.Api.IntegrationTests/EuidEnrichmentIntegrationTests.cs
  • tests-integration/Mcp.Remote.IntegrationTests/DocumentUrlNormalizerTests.cs
  • tests-integration/Mcp.Remote.IntegrationTests/SearchToolsIntegrationTests.cs
  • tests-integration/Search.IntegrationTests/SearchRelevanceTests.cs
  • tests/Elastic.ApiExplorer.Tests/ReaderTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleAmendTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleLoading/BundleLoaderTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/ChangelogConfigurationTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/ChangelogRemoveTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/BlockingLabelTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/ReleaseNoteExtractionTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/ValidationTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/BasicRenderTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/DuplicateHandlingTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/HighlightsRenderTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/OutputFormatTests.cs
  • tests/Elastic.Changelog.Tests/Creation/CIEnrichmentTests.cs
  • tests/Elastic.Changelog.Tests/Creation/FilenameStrategyTests.cs
  • tests/Elastic.Changelog.Tests/Creation/PrInfoProcessorLabelBlockerTests.cs
  • tests/Elastic.Changelog.Tests/Evaluation/ChangelogPrEvaluationServiceTests.cs
  • tests/Elastic.Documentation.Api.Infrastructure.Tests/Caching/DistributedCacheTests.cs
  • tests/Elastic.Documentation.Build.Tests/IsolatedBuildServiceTests.cs
  • tests/Elastic.Documentation.Build.Tests/SitemapTests.cs
  • tests/Elastic.Documentation.Build.Tests/SymlinkValidationTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/AssemblyConfigurationMatchTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/CrossLinkRegistryTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/DocumentInferrerServiceTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/DocumentationSetFileTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/ReleaseNotes/ChangelogTextUtilitiesTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/SiteNavigationFileTests.cs
  • tests/Elastic.Markdown.Tests/AppliesTo/ApplicabilityTryParseTests.cs
  • tests/Elastic.Markdown.Tests/AppliesTo/ApplicableToJsonConverterRoundTripTests.cs
  • tests/Elastic.Markdown.Tests/AppliesTo/ProductApplicabilityToStringTests.cs
  • tests/Elastic.Markdown.Tests/Assembler/AssemblerHtmxMarkdownLinkTests.cs
  • tests/Elastic.Markdown.Tests/CodeBlocks/CodeTests.cs
  • tests/Elastic.Markdown.Tests/CodeBlocks/ConsoleCodeBlockTests.cs
  • tests/Elastic.Markdown.Tests/Codex/CodexHtmxCrossLinkTests.cs
  • tests/Elastic.Markdown.Tests/Directives/AdmonitionUnsupportedTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ApplicabilitySwitchTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogAnchorNavigationTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogBasicTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogConfigTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogHideLinksTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogMissingFileTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogPathResolutionTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogSubsectionsTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogTocFilteringTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogTypeFilterTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogVersionSortingTests.cs
  • tests/Elastic.Markdown.Tests/Directives/CsvIncludeTests.cs
  • tests/Elastic.Markdown.Tests/Directives/DirectiveBaseTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ImageCarouselTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ImageTests.cs
  • tests/Elastic.Markdown.Tests/Directives/MathBlockTests.cs
  • tests/Elastic.Markdown.Tests/Directives/MermaidTests.cs
  • tests/Elastic.Markdown.Tests/Directives/TabTests.cs
  • tests/Elastic.Markdown.Tests/DocSet/BreadCrumbTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ListSubPagesTests.cs
  • tests/Elastic.Markdown.Tests/Directives/VersionTests.cs
  • tests/Elastic.Markdown.Tests/Directives/TableDirectiveTests.cs
  • tests/Elastic.Markdown.Tests/Directives/UnsupportedTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/IncludedAppliesSwitchTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/IncludedTabSetTests.cs
  • tests/Elastic.Markdown.Tests/FileSystemExtensionsTests.cs
  • tests/Elastic.Markdown.Tests/Inline/AutoLinkTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/IncludeTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/LiteralIncludeTests.cs
  • tests/Elastic.Markdown.Tests/FrontMatter/YamlFrontMatterTests.cs
  • tests/Elastic.Markdown.Tests/Inline/InlineAnchorTests.cs
  • tests/Elastic.Markdown.Tests/Interpolation/InterpolationTests.cs
  • tests/Elastic.Markdown.Tests/Mover/MoverTests.cs
  • tests/Elastic.Markdown.Tests/Inline/InlineLinkTests.cs
  • tests/Elastic.Markdown.Tests/Inline/SubstitutionTest.cs
  • tests/Elastic.Markdown.Tests/RootIndexValidationTests.cs
  • tests/Elastic.Markdown.Tests/Search/DocumentationDocumentSerializationTests.cs
  • tests/Elastic.Markdown.Tests/OutputDirectoryTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleChangelogsTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/TitleTargetTests.cs
  • tests/Elastic.Markdown.Tests/Directives/AdmonitionTests.cs
  • tests/Elastic.Markdown.Tests/Directives/AgentSkillTests.cs
  • tests/Elastic.Markdown.Tests/DocSet/NavigationTestsBase.cs
  • tests/Navigation.Tests/Assembler/ComplexSiteNavigationTests.cs
  • tests/Navigation.Tests/Assembler/IdentifierCollectionTests.cs
  • tests/Navigation.Tests/Codex/CodexNavigationRenderingTests.cs
  • tests/Navigation.Tests/Assembler/SiteDocumentationSetsTests.cs
  • tests/Navigation.Tests/Codex/GroupNavigationTests.cs
  • tests/Navigation.Tests/Isolation/FileNavigationTests.cs
  • tests/Navigation.Tests/Isolation/ValidationTests.cs
  • tests/Navigation.Tests/Isolation/FolderSortOrderTests.cs
  • tests/Navigation.Tests/Isolation/FolderExcludeTests.cs
  • tests/Navigation.Tests/Isolation/PhysicalDocsetTests.cs
  • tests/Elastic.Markdown.Tests/CodeBlocks/CodeBlockArgumentsTests.cs
  • tests/Elastic.Markdown.Tests/CodeBlocks/CallOutTests.cs
  • tests/Elastic.Markdown.Tests/Inline/InlneBaseTests.cs
🚧 Files skipped from review as they are similar to previous changes (39)
  • tests-integration/Elastic.Assembler.IntegrationTests/DocsSyncTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/Search/SearchBootstrapFixture.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/SiteNavigationTests.cs
  • tests-integration/Elastic.Documentation.Api.IntegrationTests/AskAiGatewayStreamingTests.cs
  • tests-integration/Elastic.Documentation.Api.IntegrationTests/OtlpProxyIntegrationTests.cs
  • tests-integration/Mcp.Remote.IntegrationTests/DocumentToolsIntegrationTests.cs
  • tests/Elastic.ApiExplorer.Tests/OpenApiDocumentExporterTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleProfileGitHubReleaseTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/BasicInputTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/FlagsAndFeaturesTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/LabelMappingTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/ReleaseVersionTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/TitleProcessingTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/RemoveReleaseVersionTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/ChecksumValidationTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/ErrorHandlingTests.cs
  • tests/Elastic.Documentation.Api.Infrastructure.Tests/Adapters/Search/StringHighlightExtensionsTests.cs
  • tests/Elastic.Documentation.Build.Tests/AssemblerBuildServiceTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/CreateNavigationFileTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/PhysicalDocsetTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/ReleaseNotes/PublishBlockerExtensionsTests.cs
  • tests/Elastic.Markdown.Tests/CrossLinks/UriEnvironmentResolverTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ButtonTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogMergeTests.cs
  • tests/Elastic.Markdown.Tests/DocSet/NestedTocTests.cs
  • tests/Elastic.Markdown.Tests/DocSet/RepositoryLinksTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/HeadingOrderTests.cs
  • tests/Elastic.Markdown.Tests/Inline/ImagePathResolutionTests.cs
  • tests/Elastic.Documentation.Api.Infrastructure.Tests/Adapters/AskAi/StreamTransformerTests.cs
  • tests/Navigation.Tests/Assembler/SiteNavigationTests.cs
  • tests/Navigation.Tests/Codex/CodexNavigationTests.cs
  • tests/Navigation.Tests/Isolation/ConstructorTests.cs
  • tests/Navigation.Tests/Isolation/NaturalStringComparerTests.cs
  • tests/Navigation.Tests/Isolation/FolderIndexFileRefTests.cs
  • tests/Navigation.Tests/Isolation/NavigationStructureTests.cs
  • tests/Navigation.Tests/Isolation/FileInfoValidationTests.cs
  • tests/Elastic.Markdown.Tests/PrettyHtmlExtensions.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleReleaseVersionTests.cs
  • tests/Navigation.Tests/Isolation/DynamicUrlTests.cs

📝 Walkthrough

Walkthrough

Centralized package management was updated to replace FluentAssertions v7.2.0 with AwesomeAssertions v9.4.0 in Directory.Packages.props. Corresponding project references and test files were updated: test build props and many test source files had using FluentAssertions; replaced with using AwesomeAssertions;. A small number of matcher calls were adjusted to the new library’s API (e.g., matcher names like GreaterOrEqualTo changed to GreaterThanOrEqualTo / HaveCountGreaterThanOrEqualTo). No production code or public APIs were modified.

Suggested labels

chore

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and accurately summarizes the main change: replacing FluentAssertions with AwesomeAssertions across the codebase.
Description check ✅ Passed The description is related to the changeset, noting that AwesomeAssertions is a drop-in replacement with minimal API changes, which aligns with the file summaries showing namespace swaps and method name adjustments.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch chore/awesome-assertions

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
tests/Elastic.Markdown.Tests/PrettyHtmlExtensions.cs (1)

83-84: ⚠️ Potential issue | 🟠 Major

Fix expected-string normalization in ShouldContainHtml.

Line 84 uses actual instead of expected, so the pre-check always compares the same string and can mask real assertion failures.

Proposed fix
 		var actualCompare = actual.Replace("\t", string.Empty);
-		var expectedCompare = actual.Replace("\t", string.Empty);
+		var expectedCompare = expected.Replace("\t", string.Empty);

Also applies to: 88-89

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@tests/Elastic.Markdown.Tests/PrettyHtmlExtensions.cs` around lines 83 - 84,
In ShouldContainHtml (PrettyHtmlExtensions.cs) the expected string normalization
uses `actual` instead of `expected`, so change the `expectedCompare` assignment
to call Replace on `expected` (i.e., use `expected.Replace("\t",
string.Empty)`), and make the same correction for the second pair at the other
occurrence (lines referenced as 88-89) so both pre-check comparisons normalize
the expected string rather than duplicating actual.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@tests/Elastic.Documentation.Api.Infrastructure.Tests/Adapters/AskAi/StreamTransformerTests.cs`:
- Line 172: The assertion events.Should().HaveCountGreaterThanOrEqualTo(0) is a
no-op; update the test in StreamTransformerTests (the test that populates the
local variable/events collection) to assert a deterministic outcome: replace the
current assertion with a meaningful check such as events.Should().NotBeEmpty()
or events.Should().HaveCount(expectedCount) with the correct expectedCount based
on the test setup, or alternatively mark the test as skipped if the expected
behavior is not yet defined; ensure you modify the specific assertion line
referencing events.Should().HaveCountGreaterThanOrEqualTo(0) to one of these
concrete validations.

---

Outside diff comments:
In `@tests/Elastic.Markdown.Tests/PrettyHtmlExtensions.cs`:
- Around line 83-84: In ShouldContainHtml (PrettyHtmlExtensions.cs) the expected
string normalization uses `actual` instead of `expected`, so change the
`expectedCompare` assignment to call Replace on `expected` (i.e., use
`expected.Replace("\t", string.Empty)`), and make the same correction for the
second pair at the other occurrence (lines referenced as 88-89) so both
pre-check comparisons normalize the expected string rather than duplicating
actual.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 318edaa4-bad1-40bf-bad1-565c20636f88

📥 Commits

Reviewing files that changed from the base of the PR and between c5c4914 and 9bdae9c.

📒 Files selected for processing (163)
  • Directory.Packages.props
  • tests-integration/Directory.Build.props
  • tests-integration/Elastic.Assembler.IntegrationTests/AssemblerConfigurationTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/DocsSyncTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/NavigationBuildingTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/NavigationRootTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/Search/SearchBootstrapFixture.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/Search/SearchIntegrationTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/ServeStaticTests.cs
  • tests-integration/Elastic.Assembler.IntegrationTests/SiteNavigationTests.cs
  • tests-integration/Elastic.Documentation.Api.IntegrationTests/AskAiGatewayStreamingTests.cs
  • tests-integration/Elastic.Documentation.Api.IntegrationTests/EuidEnrichmentIntegrationTests.cs
  • tests-integration/Elastic.Documentation.Api.IntegrationTests/OtlpProxyIntegrationTests.cs
  • tests-integration/Mcp.Remote.IntegrationTests/CoherenceToolsIntegrationTests.cs
  • tests-integration/Mcp.Remote.IntegrationTests/DocumentToolsIntegrationTests.cs
  • tests-integration/Mcp.Remote.IntegrationTests/DocumentUrlNormalizerTests.cs
  • tests-integration/Mcp.Remote.IntegrationTests/SearchToolsIntegrationTests.cs
  • tests-integration/Search.IntegrationTests/SearchRelevanceTests.cs
  • tests/Directory.Build.props
  • tests/Elastic.ApiExplorer.Tests/OpenApiDocumentExporterTests.cs
  • tests/Elastic.ApiExplorer.Tests/ReaderTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleAmendTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleChangelogsTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleLoading/BundleLoaderTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleProfileGitHubReleaseTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/BundleReleaseVersionTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/ChangelogConfigurationTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/ChangelogRemoveTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/BasicInputTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/BlockingLabelTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/FlagsAndFeaturesTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/LabelMappingTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/PrFetchFailureTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/PrIntegrationTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/ReleaseNoteExtractionTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/ReleaseVersionTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/TitleProcessingTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Create/ValidationTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/RemoveReleaseVersionTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/BasicRenderTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/BundleValidationTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/ChecksumValidationTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/DuplicateHandlingTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/ErrorHandlingTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/HideFeaturesTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/HighlightsRenderTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/OutputFormatTests.cs
  • tests/Elastic.Changelog.Tests/Changelogs/Render/TitleTargetTests.cs
  • tests/Elastic.Changelog.Tests/Creation/CIEnrichmentTests.cs
  • tests/Elastic.Changelog.Tests/Creation/FilenameStrategyTests.cs
  • tests/Elastic.Changelog.Tests/Creation/PrInfoProcessorLabelBlockerTests.cs
  • tests/Elastic.Changelog.Tests/Evaluation/ChangelogPrEvaluationServiceTests.cs
  • tests/Elastic.Changelog.Tests/ReleaseNotesExtractorTests.cs
  • tests/Elastic.Documentation.Api.Infrastructure.Tests/Adapters/AskAi/StreamTransformerTests.cs
  • tests/Elastic.Documentation.Api.Infrastructure.Tests/Adapters/Search/StringHighlightExtensionsTests.cs
  • tests/Elastic.Documentation.Api.Infrastructure.Tests/Caching/DistributedCacheTests.cs
  • tests/Elastic.Documentation.Build.Tests/AssemblerBuildServiceTests.cs
  • tests/Elastic.Documentation.Build.Tests/IsolatedBuildServiceTests.cs
  • tests/Elastic.Documentation.Build.Tests/SitemapTests.cs
  • tests/Elastic.Documentation.Build.Tests/SymlinkValidationTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/AssemblyConfigurationMatchTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/CreateNavigationFileTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/CrossLinkRegistryTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/DocumentInferrerServiceTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/DocumentationSetFileTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/PhysicalDocsetTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/ReleaseNotes/ChangelogTextUtilitiesTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/ReleaseNotes/PublishBlockerExtensionsTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/ReleaseNotes/VersionOrDateTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/SiteNavigationFileTests.cs
  • tests/Elastic.Documentation.Configuration.Tests/VersionInferenceTests.cs
  • tests/Elastic.Documentation.LegacyDocs.Tests/LegacyPageLookupTests.cs
  • tests/Elastic.Markdown.Tests/AppliesTo/ApplicabilityTryParseTests.cs
  • tests/Elastic.Markdown.Tests/AppliesTo/ApplicableToJsonConverterRoundTripTests.cs
  • tests/Elastic.Markdown.Tests/AppliesTo/ApplicableToJsonConverterSerializationTests.cs
  • tests/Elastic.Markdown.Tests/AppliesTo/ProductApplicabilityToStringTests.cs
  • tests/Elastic.Markdown.Tests/Assembler/AssemblerHtmxMarkdownLinkTests.cs
  • tests/Elastic.Markdown.Tests/CodeBlocks/CallOutTests.cs
  • tests/Elastic.Markdown.Tests/CodeBlocks/CodeBlockArgumentsTests.cs
  • tests/Elastic.Markdown.Tests/CodeBlocks/CodeTests.cs
  • tests/Elastic.Markdown.Tests/CodeBlocks/ConsoleCodeBlockTests.cs
  • tests/Elastic.Markdown.Tests/Codex/CodexHtmxCrossLinkTests.cs
  • tests/Elastic.Markdown.Tests/CrossLinks/UriEnvironmentResolverTests.cs
  • tests/Elastic.Markdown.Tests/Directives/AdmonitionTests.cs
  • tests/Elastic.Markdown.Tests/Directives/AdmonitionUnsupportedTests.cs
  • tests/Elastic.Markdown.Tests/Directives/AgentSkillTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ApplicabilitySwitchTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ButtonTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogAnchorNavigationTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogBasicTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogConfigTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogHideLinksTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogMergeTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogMissingFileTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogPathResolutionTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogSubsectionsTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogTocFilteringTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogTypeFilterTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ChangelogVersionSortingTests.cs
  • tests/Elastic.Markdown.Tests/Directives/CsvIncludeTests.cs
  • tests/Elastic.Markdown.Tests/Directives/DirectiveBaseTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ImageCarouselTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ImageTests.cs
  • tests/Elastic.Markdown.Tests/Directives/ListSubPagesTests.cs
  • tests/Elastic.Markdown.Tests/Directives/MathBlockTests.cs
  • tests/Elastic.Markdown.Tests/Directives/MermaidTests.cs
  • tests/Elastic.Markdown.Tests/Directives/TabTests.cs
  • tests/Elastic.Markdown.Tests/Directives/TableDirectiveTests.cs
  • tests/Elastic.Markdown.Tests/Directives/UnsupportedTests.cs
  • tests/Elastic.Markdown.Tests/Directives/VersionTests.cs
  • tests/Elastic.Markdown.Tests/DocSet/BreadCrumbTests.cs
  • tests/Elastic.Markdown.Tests/DocSet/NavigationTests.cs
  • tests/Elastic.Markdown.Tests/DocSet/NavigationTestsBase.cs
  • tests/Elastic.Markdown.Tests/DocSet/NestedTocTests.cs
  • tests/Elastic.Markdown.Tests/DocSet/RepositoryLinksTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/HeadingOrderTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/IncludeTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/IncludedAppliesSwitchTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/IncludedTabSetTests.cs
  • tests/Elastic.Markdown.Tests/FileInclusion/LiteralIncludeTests.cs
  • tests/Elastic.Markdown.Tests/FileSystemExtensionsTests.cs
  • tests/Elastic.Markdown.Tests/FrontMatter/YamlFrontMatterTests.cs
  • tests/Elastic.Markdown.Tests/Inline/AnchorLinkTests.cs
  • tests/Elastic.Markdown.Tests/Inline/AutoLinkTests.cs
  • tests/Elastic.Markdown.Tests/Inline/CommentTest.cs
  • tests/Elastic.Markdown.Tests/Inline/DirectiveBlockLinkTests.cs
  • tests/Elastic.Markdown.Tests/Inline/FootnotesTests.cs
  • tests/Elastic.Markdown.Tests/Inline/IconParserTests.cs
  • tests/Elastic.Markdown.Tests/Inline/ImagePathResolutionTests.cs
  • tests/Elastic.Markdown.Tests/Inline/InlineAnchorTests.cs
  • tests/Elastic.Markdown.Tests/Inline/InlineImageTest.cs
  • tests/Elastic.Markdown.Tests/Inline/InlineLinkTests.cs
  • tests/Elastic.Markdown.Tests/Inline/InlneBaseTests.cs
  • tests/Elastic.Markdown.Tests/Inline/SubstitutionInlineCodeTest.cs
  • tests/Elastic.Markdown.Tests/Inline/SubstitutionTest.cs
  • tests/Elastic.Markdown.Tests/Interpolation/InterpolationTests.cs
  • tests/Elastic.Markdown.Tests/Mover/MoverTests.cs
  • tests/Elastic.Markdown.Tests/OutputDirectoryTests.cs
  • tests/Elastic.Markdown.Tests/PrettyHtmlExtensions.cs
  • tests/Elastic.Markdown.Tests/RootIndexValidationTests.cs
  • tests/Elastic.Markdown.Tests/Search/DocumentationDocumentSerializationTests.cs
  • tests/Elastic.Markdown.Tests/SettingsInclusion/IncludeTests.cs
  • tests/Mcp.Remote.Tests/Mcp.Remote.Tests.csproj
  • tests/Mcp.Remote.Tests/McpServerInstructionTests.cs
  • tests/Mcp.Remote.Tests/McpToolTelemetryTests.cs
  • tests/Navigation.Tests/Assembler/ComplexSiteNavigationTests.cs
  • tests/Navigation.Tests/Assembler/IdentifierCollectionTests.cs
  • tests/Navigation.Tests/Assembler/SiteDocumentationSetsTests.cs
  • tests/Navigation.Tests/Assembler/SiteNavigationTests.cs
  • tests/Navigation.Tests/Codex/CodexNavigationRenderingTests.cs
  • tests/Navigation.Tests/Codex/CodexNavigationTests.cs
  • tests/Navigation.Tests/Codex/GroupNavigationTests.cs
  • tests/Navigation.Tests/Isolation/ConstructorTests.cs
  • tests/Navigation.Tests/Isolation/DynamicUrlTests.cs
  • tests/Navigation.Tests/Isolation/FileInfoValidationTests.cs
  • tests/Navigation.Tests/Isolation/FileNavigationTests.cs
  • tests/Navigation.Tests/Isolation/FolderExcludeTests.cs
  • tests/Navigation.Tests/Isolation/FolderIndexFileRefTests.cs
  • tests/Navigation.Tests/Isolation/FolderSortOrderTests.cs
  • tests/Navigation.Tests/Isolation/NaturalStringComparerTests.cs
  • tests/Navigation.Tests/Isolation/NavigationStructureTests.cs
  • tests/Navigation.Tests/Isolation/PhysicalDocsetTests.cs
  • tests/Navigation.Tests/Isolation/ValidationTests.cs

@cotti cotti enabled auto-merge (squash) March 26, 2026 13:11
@coderabbitai coderabbitai bot added chore and removed dependencies labels Mar 26, 2026
@cotti cotti merged commit 34f9bef into main Mar 26, 2026
29 of 30 checks passed
@cotti cotti deleted the chore/awesome-assertions branch March 26, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants