Module org.junit.start


module org.junit.start

Defines the API of the JUnit Start module for writing and running tests.

Usage example in a HelloTests.java compact source-file program:

import module org.junit.start;

void main() {
  JUnit.run();
}

@Test
void addition() {
  Assertions.assertEquals(2, 1 + 1, "Addition error detected!");
}