I\'ve got some (C#) code that relies on today\'s date to correctly calculate things in the future. If I use today\'s date in the testing, I have to repeat the calculation in
Simple answer: ditch System.DateTime :) Instead, use NodaTime and it's testing library: NodaTime.Testing.
Further reading: