junit4 icon indicating copy to clipboard operation
junit4 copied to clipboard

A programmer-oriented testing framework for Java.

Results 111 junit4 issues
Sort by recently updated
recently updated
newest added

The background is that we run this code through a compiler that complains about unused variables. As I see it, it doesn't really make sense for the compiler to complain...

I had to implement a custom equal function but I cannot report the failure with the existing functionality of Assert class. I wanted to reuse the function Assert.failNotEquals but it's...

From https://bugs.gentoo.org/916398 ```  * Package: dev-java/junit-4.13.2:4  * Repository: gentoo  * Maintainer: [email protected]  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux  * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox...

### Description Flaky tests are common occurrences in open-source projects, yielding inconsistent results—sometimes passing and sometimes failing—without code changes. NonDex is a tool for detecting and debugging wrong assumptions on...

It would be great if I did not have to specifically enumerate all the test classes in a test suite in order to run a specific category. It seems counter...

I am extending ParentRunner with my own implementation using DI and the single constructor check is getting in the way: public TestClass(Class klass) { fClass= klass; if (klass != null...

feature
up-for-grabs

It would be convenient to enforce code style conventions (like imports) by committing them as Eclipse 'project specific settings' into the VCS. The Eclipse project settings are already under version...

Java 20 has [dropped](https://www.oracle.com/java/technologies/javase/20-relnote-issues.html#JDK-8173605) support for 1.7 as the source and target versions. This pull request does something similar to commit 66083734d13aa67e616f3c4b429c019c5992bba0 to allow the project to be built with...

Theories test runner is powerful but has some drawbacks: - When error happen, it's hard to know what parameter combination is making that error - Do not have option to...

feature
theories