Last time I blogged about a way to make concurrent unit tests deterministic. This time I’d like to focus on the technical aspects, namely NUnit . Let us start with the following test: [Test] public void TestThread() { int n = 0; var thread1 = new Thread(()