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

Actually, when a @theory fails, it throws a ParameterizedAssertionError that gives theory's method name and used argument(s) : ok, we know **what** failed. But to know **why** it failed, one...

theories
parameterized

I am afraid the categories + parameterized duo still does not work properly with fresh junit 4.9 final, yet after #74 changes the feedback is much better than messageless NPE....

bug
regression
parameterized

I've recently run into the problem that I wanted to use an annotation on certain test-methods, but didn't require the explicit rule as a field. Considering an example, let's say...

rules

I want to be able to create my own runners for parameterized tests. This was possible, when PR #564 was merged. This was reworked in #773, so that user can...

parameterized

Hello everyone, We had a little issue at work today using a parameterized test runner which was given characters as arguments which happened to be escape sequences. The issue happens...

parameterized

Please add an option for executing each @Test in its own ClassLoader. This is especially important in parallel-methods mode where threads clobber each other's static variables. See https://jira.codehaus.org/browse/SUREFIRE-749 for a...

In certain scenarios, it would be very handy to be able to add custom data to the xml report. Examples: - Mapping the test to set of requirements - Adding...

needs more info

The execution model for `@Theory`-based tests is virtually tailor-made for generative testing: you take some parameters and assert an invariant over them. However, based on my reading of the current...

As JUnit is interacting with a test class by reflection anyway, there's absolutely no need to insist on `@Rule` fields to be declared as `public`. Neither that's the case for...