Skip to end of metadata
Go to start of metadata


SysUnit is an extension to JUnit that makes performing integration tests easy. At one end of the spectrum, it merely enhances normal JUnit semantics by providing a method for writing multithreaded tests, while at the other end, it provides structure for writing and coordinating tests that involve multiple JVMs.

Multi-threaded Tests

Instead of writing a test that extends TestCase, your test-class should extend SystemTestCase. Tests that extend SystemTestCase do not folow the normal naming convention of testFoo(), but instead uses threadFoo() to define each thread that will participate in the test.

Using your IDE to run tests

Some IDEs don't recognise a unit test using the above code. If so just add a static suite() method and your IDE should be able to run your system test as if it was a normal unit test...

  • No labels