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 @RunWith annotation has been widely successful in enabling the integration of other testing tools with JUnit. For example, the following testing libraries (among others) use it: jMock, Mockito, JMockit,...

feature

As discussed in #1338 I refactored some of runners to be able to reuse their functionality. This mainly included the conversion of private instance methods to public (static) class methods....

The new annotation allows to inject parameterized values in static test members. This is useful when one has to run a parameterized test case against parametric expensive resources.

needs more info

This patch updates `Request` and `ClassRequest` to enable the configuration of a default JUnit4 Runner other than `BlockJUnit4ClassRunner`. The only visible change is a new static method in Request, `classWithDefaultRunner`,...

Closed Pull Request #1438 opened this one as requested

I am opening this PR, because https://github.com/junit-team/junit4/pull/1439 was stuck on review. I fixed the review comments from that PR. Also after discussions https://github.com/junit-team/junit4/pull/1439#discussion_r117915718 I am dropping string length comparison. Javadocs...

This PR is one of the possible solutions to #1219 We also had a need for such a feature, so I just implemented it. I hope someone will find it...

According to #1525 now the tests that has assumption violations are flagged with 'I' in the textUI output

adds assertContentsEqual for CharSequences

This is still an issue as of 4.12 and can cause a huge unexpected performance hit. ## Minimal example For `N=5` datapoints of type `T=int` and `M=3` arguments of type...