Skip to content

ThreadUnit Scenarios

tallseth edited this page Jul 23, 2012 · 2 revisions

Here's the types of threading tests I write, and want a tool to make quicker and easier:

  • Bombard something with calls from many threads in parallel
  • Code under test creates a new thread, which may be longer running than the test
  • Have 2 different activites that coordinate around a shared resource competing in different threads. Interleaved in sequence or at Random? Both? Interleaved in some specific sequence? Is there a need for more than two?

Other threading test cases that seem interesting:

  • Ensure a correct sequence of events when multiple threads are in play
  • Isolate specific but unknown timing issues with a sliding overlap of two or more competing threads

Clone this wiki locally