By xianpants
via blog.carbonfive.com
Published: Sep 05 2008 / 07:19
This entry describes a technique for writing multi-threaded automated (*Unit-style) stress tests in a safe and reliable fashion by leveraging the concurrency utilities added in Java 5. It's a technique that should not be used gratuitously as it's more heavy-weight than a standard unit-test, but is appropriate for in some scenarios. It's surprisingly simple considering what it's doing. A complete, easy-to-run example is referenced at the bottom.
Add your comment
Voters For This Link (16)
-
xianpants -
mswatcher -
bloid -
djo.mos -
mikiorbe -
phayte -
jose0 -
motxilo -
valeriemize -
kristinawells -
zis -
phymata -
raavi -
asgeirn -
rogerjose81 -
gayathri_gvn