Extension libraries have typically two needs that are currently not provided:
- Being able to mark themselves as an extension library so that
CallerIdentifier doesn't need to check for individual CustomAssertion attributes
- Being able to inject additional capabilities, like custom implementations of
IEquivalencyStep such as provided by FluentAssertions.DataSets.
I'm proposing to introduce an assembly-level attribute that FA will scan for before it executes any kind of assertion. This attribute will point to an initialization class/method that can be used to change FA defaults, e.g. using AssertionOptions.
I'm not 100% sure yet, but I suspect this scanning could be triggered by the static constructor of AssertionExtensions
Is a prerequisite for finishing #2002