JUnit test runner to run concurrent unit tests
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
concurrent-junit new java doc Nov 20, 2017
docs/apidocs new java doc Nov 20, 2017
README.md Update README.md Nov 16, 2017

README.md

concurrent-junit

A http://junit.org test runner to run concurrent unit tests. Runs the tests of one test class in the following order:

  1. Runs methods marked with org.junit.Before annotation in the main thread.
  2. Runs methods marked with org.junit.Test annotation. Each method is run in 4 parallel threads.
  3. Runs methods marked with org.junit.After annotation in the main thread.

See WrongAtomicityStack for an example on how to use org.junit.Before. See RaceConditionVolatileCounter for an example on how to use org.junit.After. Most useful when using a dynamic race condition catcher like http://vmlens.com.

Java Doc

javadoc

Supported junit versions

concurrent-junit is tested with junit 4.11 and 4.12

Latest release

Maven

<dependency>
<groupId>com.vmlens</groupId>
<artifactId>concurrent-junit</artifactId>
<version>1.0.2</version>
</dependency>

License

concurrent-junit is released under the Eclipse Public License 1.0

Blog Entries about concurrent junit