October 22, 2008

...Learn TDD with Codemanship

Concutest - Framework for Testing Multithreaded Java

Yet again, I'm behind the curve.

In my previous post, I theorised about a testing tool that would enable deterministic interleaving of multiple concurrent threads so that we could test explicit concurrency scenarios in a way that's predictable and repeatable.

Guess what? Yep, someone's already gone and done it.

Concutest is a framework for testing multithreaded Java code that does pretty much exactly what I was thinking. It analyses your multithreaded source code, breaks it down into a sequence of processing steps, and then generates executable code at runtime such that each step, and the order of interleaved steps, can be programmatically controlled by the test harness.

I'm guessing a .NET version can't be far behind.




Posted 9 years, 8 months ago on October 22, 2008