Microsoft.Extensions.TimeProvider.Testing
Hand-crafted fakes to make time-related testing easier. FakeTimeProvider implements the abstract TimeProvider class and is specifically designed to be used for testing.
Install
dotnet add package Microsoft.Extensions.TimeProvider.Testing --version 10.3.0
Install-Package Microsoft.Extensions.TimeProvider.Testing -Version 10.3.0
<PackageReference Include="Microsoft.Extensions.TimeProvider.Testing" Version="10.3.0" />
Frameworks
Dependencies
Adoption guide
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.