XUnit FreezeClock – Black Magic Stopping Time(www.dotnetguy.co.uk)
submitted by
daniewat82(114) 2 years, 1 month ago
All that is needed is to add the FreezeClock attribute to a method, and then when you need to get the frozen DateTime you call Clock.Now.
|category: Unit Testing
|Views: 7
tags:
Testing another
Everyones tags:
Your Tags: