Link Details

Link 110477 thumbnail
User 231688 avatar

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.
  • 16
  • 0
  • 2241
  • 889

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.