February 24, 2007

Monte Carlo (Stochastic) Junit

This is an idea I have been batting around at work for some time: to generate a junit test package that uses principles from stochastic processes. That is, you could specify different sets of input values, with different probabilities and test how the software behaves in a black box condition with a multitude of inputs.

http://en.wikipedia.org/wiki/Stochastic_process

http://en.wikipedia.org/wiki/Monte_Carlo_method

http://testng.org/doc/

Posted by ledlogic at February 24, 2007 04:46 PM