34 Answered Questions

[SOLVED] How do you assert that a certain exception is thrown in JUnit 4 tests?

18 Answered Questions

[SOLVED] How to run test methods in specific order in JUnit4?

29 Answered Questions

[SOLVED] Maven does not find JUnit tests to run

4 Answered Questions

[SOLVED] Difference between @Before, @BeforeClass, @BeforeEach and @BeforeAll

2 Answered Questions

[SOLVED] @RunWith(MockitoJUnitRunner.class) vs MockitoAnnotations.initMocks(this)

  • 2012-05-29 20:34:46
  • OceanBlue
  • 87021 View
  • 118 Score
  • 2 Answer
  • Tags:   java junit4 mockito

12 Answered Questions

[SOLVED] Changing names of parameterized tests

15 Answered Questions

[SOLVED] How to test that no exception is thrown?

14 Answered Questions

4 Answered Questions

[SOLVED] Reuse spring application context across junit test classes

40 Answered Questions

[SOLVED] No tests found with test runner 'JUnit 4'

5 Answered Questions

[SOLVED] How do I Dynamically create a Test Suite in JUnit 4?

  • 2010-07-15 15:25:15
  • Tom Tresansky
  • 52392 View
  • 52 Score
  • 5 Answer
  • Tags:   java junit junit4

6 Answered Questions

[SOLVED] How to run all tests belonging to a certain Category in JUnit 4

3 Answered Questions

[SOLVED] Basic JUnit test for JavaFX 8

6 Answered Questions

[SOLVED] Mockito: Mock private field initialization

2 Answered Questions

[SOLVED] Can't run JUnit 4 test case in Eclipse Android project

7 Answered Questions

[SOLVED] How do I assert an Iterable contains elements with a certain property?

4 Answered Questions

[SOLVED] How does Junit @Rule work?

7 Answered Questions

[SOLVED] Is Java's assertEquals method reliable?

18 Answered Questions

[SOLVED] java.lang.Exception: No runnable methods exception in running JUnits

6 Answered Questions

[SOLVED] Disable @EnableScheduling on Spring Tests

5 Answered Questions

[SOLVED] How to define a JUnit method rule in a test suite?

  • 2011-10-03 18:55:31
  • Sled
  • 10317 View
  • 12 Score
  • 5 Answer
  • Tags:   java junit junit4

6 Answered Questions

[SOLVED] Has JUnit4 begun supporting ordering of test? Is it intentional?

  • 2011-10-21 06:51:55
  • Tarun
  • 11639 View
  • 9 Score
  • 6 Answer
  • Tags:   java junit junit4

6 Answered Questions

[SOLVED] differences between 2 JUnit Assert classes

2 Answered Questions

[SOLVED] How to run all JUnit tests in a category/suite with Ant?

6 Answered Questions

[SOLVED] setUp/tearDown (@Before/@After) why we need them in JUnit?

6 Answered Questions

5 Answered Questions

[SOLVED] Test cases in inner classes with JUnit

3 Answered Questions

[SOLVED] JUnit 4 @BeforeClass & @AfterClass when using Suites

  • 2009-12-17 12:42:09
  • Andreas Mattisson
  • 46306 View
  • 30 Score
  • 3 Answer
  • Tags:   java junit junit4

5 Answered Questions

[SOLVED] Cleanup after all junit tests

7 Answered Questions

[SOLVED] Specifying order of execution in JUnit test case

  • 2012-03-02 05:42:11
  • crazyaboutliv
  • 59614 View
  • 20 Score
  • 7 Answer
  • Tags:   java junit4