IT lexicon › Programming › JUnit

JUnit

Programming På svenska → Updated: 2026-07-28
More info
Creator
Kent Beck, Erich Gamma
Released
Type
Testing framework
License
EPL-2.0
Website

Java's testing framework, and the archetype the entire xUnit family copied.

Kent Beck and Erich Gamma wrote it in 1997 — on a flight, as the legend has it — based on Beck's earlier SUnit for Smalltalk. The setup / test method / assertion / teardown pattern originates here and reappears in NUnit, PyUnit, PHPUnit and the rest.

JUnit 4 (2006) introduced annotations in place of naming conventions. JUnit 5 (2017) split the framework into Platform, Jupiter and Vintage, allowing other test engines to run on the same platform. More than any other tool it drove TDD into practice.

← Back to the lexicon