junit - Java regression test package

Property Value
Distribution openSUSE Leap 15.0
Repository openSUSE JAVA all
Package name junit
Package version 4.11
Package release lp150.49.1
Package architecture noarch
Package type rpm
Installed size 310.54 KB
Download size 267.42 KB
Official Mirror ftp.gwdg.de
JUnit is a regression testing framework written by Erich Gamma and Kent Beck.
It is used by the developer who implements unit tests in Java. JUnit is Open
Source Software, released under the Common Public License Version 1.0 and
hosted on GitHub.


Package Version Architecture Repository
junit-4.11-lp150.47.1.noarch.rpm 4.11 noarch openSUSE JAVA
junit-4.11-lp150.3.12.noarch.rpm 4.11 noarch openSUSE Oss
junit - - -


Name Value
hamcrest -
java >= 1.6.0
java-headless -
javapackages-tools -


Name Value
junit = 4.11-lp150.49.1
junit4 = 4.11
mvn(junit:junit) = 4.11
mvn(junit:junit:pom:) = 4.11


Name Value
junit4 <= 4.10


Type URL
Binary Package junit-4.11-lp150.49.1.noarch.rpm
Source Package junit-4.11-lp150.49.1.src.rpm

Install Howto

  1. Add the openSUSE JAVA repository:
    # zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/Java:/packages/openSUSE_Leap_15.0/ opensuse-java
  2. Install junit rpm package:
    # zypper install junit




2018-07-11 - fstrba@suse.com
- Added patch:
* junit-jdk11.patch
+ Fix build with jdk11
+ Don't override removed SecurityManager methods
2017-12-18 - fstrba@suse.com
- Run fdupes on documentation
2017-12-18 - dimstar@opensuse.org
- Harden and fix the test suite:
+ org.framework.junit is deprecated since junit 4.0
+ Ensure we fail check when junit no longer returns what we
expect it to (error code checking is useless, since Assert
returns !0, like any other failure to start the test).
2017-12-18 - fstrba@suse.com
- Added patch:
* junit-jdk10.patch
+ Remove a function getInCheck from NoExitSecurityManager,
since it does not exist in the extended class in jdk10 and is
deprecated in previous versions
2017-09-08 - fstrba@suse.com
- Added patch:
* junit-jdk9.patch
+ Build with java source and target levels 1.6 in order to
allow building with jdk9
2017-05-19 - dziolkowski@suse.com
- New build dependency: javapackages-local
2015-07-28 - tchvatal@suse.com
- Add patch to build with jdk8:
* junit-jdk8.patch
2015-03-18 - tchvatal@suse.com
- Fix build with new javapackages-tools
2013-10-25 - mvyskocil@suse.com
- Update to 4.11
* Matchers: Upgrade to Hamcrest 1.3
no longer included junit jar
* Parameterized Tests
* Specify Test execution order
* New maven artifact 'junit:junit' w/o builtin hamcrest
* Number of improvements into Rules
- Drop jdk7-testfailure.patch, fixed upstream
- Add junit-no-hamcrest-src.patch, don't bundle hamcrest into junit.jar
- Use SourceUrl for release tarball and pom
- Don't inject OSGI manifest, it breaks junit.jar
- Provide/obsolete package junit4
2013-08-23 - mvyskocil@suse.com
- disable javadoc build

See Also

Package Description
junit-demo-4.11-lp150.47.1.noarch.rpm Demos for junit
junit-demo-4.11-lp150.49.1.noarch.rpm Demos for junit
junit-javadoc-4.11-lp150.47.1.noarch.rpm Javadoc for junit
junit-javadoc-4.11-lp150.49.1.noarch.rpm Javadoc for junit
junit-manual-4.11-lp150.47.1.noarch.rpm Manual for junit
junit-manual-4.11-lp150.49.1.noarch.rpm Manual for junit
junitperf-1.9.1-lp150.34.1.noarch.rpm JUnit extension for performance and scalability testing
junitperf-demo-1.9.1-lp150.34.1.noarch.rpm JUnit extension for performance and scalability testing
junitperf-javadoc-1.9.1-lp150.34.1.noarch.rpm JUnit extension for performance and scalability testing
jvyamlb-0.2.5-lp150.28.1.noarch.rpm YAML processor for JRuby
jython-2.2.1-lp150.357.1.noarch.rpm A Java implementation of the Python language
jython-demo-2.2.1-lp150.357.1.noarch.rpm Demonstration and samples for jython
jython-javadoc-2.2.1-lp150.357.1.noarch.rpm Javadoc for jython
jython-manual-2.2.1-lp150.357.1.noarch.rpm Manual for jython
jzlib-1.1.3-lp150.49.1.noarch.rpm Re-implementation of zlib in pure Java