Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
JUnit
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Java testing framework}} {{Redirect|Junit|the Egyptian goddess|Iunit}} {{Infobox software | name = JUnit | logo = | screenshot = | caption = | developer = [[Kent Beck]], [[Erich Gamma]], David Saff | latest release version = 5.10.0 | latest release date = {{release date and age|2023|07|23}}<ref name="github">{{cite web|url=https://github.com/junit-team/junit5/releases|website=github.com|title=JUnit Releases |access-date=2023-07-23}}</ref> | operating system = [[Cross-platform]] | programming language = [[Java programming language|Java]] | genre = [[Unit testing]] tool | license = [[Eclipse Public License 2.0]]<ref>{{cite web | url=https://github.com/junit-team/junit5/issues/1045 | title=Change license to EPL v2.0 | website=github.com | date=7 September 2017 | access-date=2021-02-04}}</ref> ([[Software relicensing|relicensed]] previously) | website = {{URL|https://junit.org}} }} '''JUnit''' is a [[test automation]] [[Software framework|framework]] for the [[Java (programming language)|Java programming language]]. JUnit is often used for [[unit testing]], and is one of the [[xUnit]] frameworks. JUnit is linked as a [[JAR (file format)|JAR]] at compile-time. The latest version of the framework, JUnit 5, resides under package {{code|org.junit.jupiter}}.{{sfn|Gulati|Sharma|2017|loc=§Chapter 8 Dynamic Tests and Migration from Junit 4|p=144}} Previous versions JUnit 4{{sfn|Gulati|Sharma|2017|loc=§Chapter 8 Dynamic Tests and Migration from Junit 4|p=144}} and JUnit 3 were under packages {{code|org.junit}} and {{code|junit.framework}}, respectively. A research survey performed in 2013 across 10,000 Java projects hosted on GitHub found that JUnit (in a tie with [[SLF4J|slf4j-api]]) was the most commonly included external library. Each library was used by 30.7% of projects.<ref>{{cite web |url=http://www.takipiblog.com/2013/11/20/we-analyzed-30000-github-projects-here-are-the-top-100-libraries-in-java-js-and-ruby/ |title=We Analyzed 30,000 GitHub Projects – Here Are The Top 100 Libraries in Java, JS and Ruby |access-date=2014-02-09 |archive-date=2014-07-09 |archive-url=https://web.archive.org/web/20140709221250/http://www.takipiblog.com/2013/11/20/we-analyzed-30000-github-projects-here-are-the-top-100-libraries-in-java-js-and-ruby/ |url-status=dead }}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)