p-unit is a framework for unit testing and performance benchmarking. As a unit test, it can run with a single thread or multiple threads against the same test code. p-unit has an executor pool which can accelerate the execution speed dramatically. As a perforamnce test framework, it records memory consumption and execution time, and generates results in the form of plain text, image, and PDF file. Users can also easily register their own reporters by implementing the p-unit event listener.


This release can run existing JUnit 4.x test cases without any modification of the source code. It provides a full set of annotation, including @Test, @Before, @After, @BeforeClass, and @AfterClass. A sample project is provided in the distribution.

URL: p-unit - An open source framework for performance benchmark and unit test