Skip to content

How to assert timer callback in c# xunit unit test #53146

Closed Answered by martincostello
fingers10 asked this question in Q&A
Discussion options

You must be logged in to vote

Have you considered using the FakeTimeProvider implementation from NuGet instead of rolling your own? https://devblogs.microsoft.com/dotnet/fake-it-til-you-make-it-to-production/

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by fingers10
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants