Skip navigation links


This document lists changes made to the JUnit APIs. Please ask on the or mailing list if you have any questions about the details of a change, or are wondering how to convert existing code to be compatible.

Index of APIs

Incompatible changes by date

Fuller descriptions of all changes can be found below (follow links).

Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.

All changes by date

Changes by version

These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:

OpenIDE-Module-Module-Dependencies: org.netbeans.modules.junit/2 > 1.20

Changes by affected class


Details of all changes by API and date

JUnit Plugin SPI


Mar 16 '07; API spec. version: 2.23; affected top-level classes: JUnitPlugin; made by: mpetras; issues: #72819

Added members INC_CLASS_SETUP and INC_CLASS_TEARDOWN to enum JUnitPlugin.CreateTestParam. Added method createTestActionCalled(FileObject[]) to class JUnitPlugin.

Added SPI for JUnit plugins

Apr 7 '06; API spec. version: 2.21; affected top-level classes: JUnitPlugin; made by: mpetras; issues: #74160 #42349

Introduced new SPI - abstract class JUnitPlugin (with a nested enum CreateTestParam and a nested final class Location). Introduced to allow non-J2SE projects to plug in their own implementation of JUnit support, i.e.: