Releases: WDWWW/aspnetcore-easy-testing
Releases · WDWWW/aspnetcore-easy-testing
v5.0.3
New features.
DisableStartupFilters
,DisableStartupFilter<TImplementationFilter>
: Remove service registrations ofIStartFilter
RemoveSingleBy
,RemoveAllBy
,Remove
,RemoveAll
: Remove service or implementation types.VerifyNoRegistrationByCondition
,VerifyNoRegistration
: Verify there are no registration of condition or service type.
v5.0.2
New features
- ReplaceConfigureOptions : Replace registered configure options. if you used custom configure some option class in startup class.
- ReplaceNamedConfigureOptions : Like above but just for named options.
- DisableOptionValidations : Remove all options validators about TOptions
- DisableOptionDataAnnotationValidation : Disable only data annotation validation.
- VerifyRegistrationByCondition : Verify service registration by condition expression.
- OverrideAppConfiguration overloads
- ReplaceLoggerFactory : Replace logger factory to generating custom logger.
- for example : checkout XUnit test sample
v5.0.1
New feature
- VerifyRegisteredImplementationTypeOfService to verify actual registration
- ReplaceDistributedInMemoryCache to use memory cache for testing