.NET 8 FakeTimeProvider
Coding Tutorials Coding Tutorials
14.4K subscribers
920 views
39

 Published On Jan 5, 2024

As well as giving us TimeProvider, .NET also brings a predefined mock: FakeTimeProvider. Unfortunately, it doesn't quite work as expected.

Source code available at: https://github.com/JasperKent/Timer-T...

Related videos:
- .NET 8 Testing Times:    • .NET 8 Testing Times  

Topics include:
- The TimeProvider base class
- Testing time-based applications
- Using FakeTimeProvider to set the current time
- Advancing time
- Problems with advancing time
- Problems with terminating timers

show more

Share/Embed