Welcome to Atalasoft Community Sign in | Help

Browse by Tags

All Tags » TDD   (RSS)

My solution for unit testing concurrent code in NUnit

I blogged recently about testing parallel code in NUnit. I think I settled with requirements: I want to use threads; I want to use assertions in threads; I want to control how threads step on each other; Too bad that solutions I tested did not fit 100%.
Posted by dbarvitsky | 0 Comments

Techniques for testing concurrent code in NUnit

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(()
Posted by dbarvitsky | 0 Comments