Skip to content

Conversation

@danielmackay
Copy link
Member

@danielmackay danielmackay commented Mar 25, 2025

This pull request includes changes to migrate from FluentAssertions to Awesome Assertions, update the build process, and modify test projects accordingly. The most important changes include updating the build command, modifying package references, and adjusting test assertion implementations.

See ADR

image
Figure: Majority of the SAW team are in favor of this change

Migration to Awesome Assertions:

  • Directory.Packages.props: Added AwesomeAssertions package and removed FluentAssertions package. [1] [2]
  • docs/adr/20250326-migrate-to-awesome-assertions.md: Added a new ADR document outlining the decision to migrate to Awesome Assertions.
  • tests/Architecture.Tests/Architecture.Tests.csproj, tests/Domain.UnitTests/Domain.UnitTests.csproj, tests/WebApi.IntegrationTests/WebApi.IntegrationTests.csproj: Updated test projects to include AwesomeAssertions and remove FluentAssertions. [1] [2] [3]
  • tests/Architecture.Tests/Common/TestResultAssertions.cs, tests/Architecture.Tests/Common/TestResultExtensions.cs: Modified test assertion implementations to use AssertionChain from Awesome Assertions. [1] [2] [3]

Build process update:

@danielmackay danielmackay changed the title migrate-to-awesome-assertions migrate-to-awesome-assertions - DO NOT REVIEW OR MERGE Mar 25, 2025
@danielmackay danielmackay changed the title migrate-to-awesome-assertions - DO NOT REVIEW OR MERGE 🧪 Migrate to Awesome Assertions - DO NOT REVIEW OR MERGE Mar 25, 2025
@danielmackay danielmackay changed the title 🧪 Migrate to Awesome Assertions - DO NOT REVIEW OR MERGE 🧪 Migrate to Awesome Assertions Mar 25, 2025
@danielmackay danielmackay merged commit d767a2a into main Mar 26, 2025
2 checks passed
@danielmackay danielmackay deleted the migrate-to-awesome-assertions branch March 26, 2025 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants