Deal with time dependencies in Tests - Code it Yourself...

added by Carlos Mendible
10/24/2016 11:24:28 AM

1 Kicks, 66 Views

Las week we discovered that some of our test would "randomly" fail depending of the time of the day. After investigating the issue we found that the culprit was that the service being tested was taking decisions based on the current system time (DateTime.Now) leading to different outcomes through the day.