Topic: Tests steady up the time of performance
Good afternoon, colleagues. Impart experience, pls. As you do tests steady up the time of test performance.... As you arrive, if the result of operation of tested procedure depends on time of carrying out of the test (i.e. in procedure in # becomes DateTime. Now or in SQL becomes GETDATE ()). As you provide that at all time different results tests work. There is any standard uniform approach? Judgement: to Write difficult enough which check everything did not change that does not depend on time, and all changed also in the correct image that it depends on time is terribly troublesome. Whether it is impossible "to stop time" and to write the test as though time does not leak absolutely? It strongly would simplify life. It would be possible to compare simply entirely "the instant pictures" states. How you arrive?