33 Answered Questions

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

11 Answered Questions

[SOLVED] How to run JUnit test cases from the command line

12 Answered Questions

[SOLVED] JUnit test for System.out.println()

  • 2009-07-13 13:18:13
  • Mike Minicki
  • 207939 View
  • 334 Score
  • 12 Answer
  • Tags:   java console junit

18 Answered Questions

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

23 Answered Questions

[SOLVED] Injecting Mockito mocks into a Spring bean

9 Answered Questions

[SOLVED] Running junit tests in parallel in a Maven build?

  • 2009-01-08 08:53:37
  • krosenvold
  • 72380 View
  • 110 Score
  • 9 Answer
  • Tags:   java maven junit

4 Answered Questions

[SOLVED] Conditionally ignoring tests in JUnit 4

21 Answered Questions

[SOLVED] How to mock a final class with mockito

  • 2013-01-12 11:23:01
  • buttowski
  • 196973 View
  • 156 Score
  • 21 Answer
  • Tags:   java junit mockito

7 Answered Questions

15 Answered Questions

[SOLVED] Java: How to test methods that call System.exit()?

22 Answered Questions

[SOLVED] Testing two JSON objects for equality ignoring child order in Java

  • 2010-02-12 17:30:00
  • Jeff
  • 252665 View
  • 213 Score
  • 22 Answer
  • Tags:   java json junit

27 Answered Questions

[SOLVED] Maven does not find JUnit tests to run

5 Answered Questions

[SOLVED] How to mock private method for testing using PowerMock?

5 Answered Questions

[SOLVED] How to Re-run failed JUnit tests immediately?

  • 2011-11-28 11:24:05
  • Ralph
  • 32650 View
  • 76 Score
  • 5 Answer
  • Tags:   java testing junit

4 Answered Questions

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

7 Answered Questions

[SOLVED] JUnit testing with simulated user input

44 Answered Questions

[SOLVED] Error:(23, 17) Failed to resolve: junit:junit:4.12

21 Answered Questions

[SOLVED] How to do a JUnit assert on a message in a logger

11 Answered Questions

[SOLVED] Before and After Suite execution hook in jUnit 4.x

13 Answered Questions

[SOLVED] Get name of currently executing test in JUnit 4

6 Answered Questions

[SOLVED] Test class with a new() call in it with Mockito

8 Answered Questions

[SOLVED] JUnit: How to simulate System.in testing?

5 Answered Questions

[SOLVED] JUnit 4 Test Suites

8 Answered Questions

[SOLVED] What is the JUnit XML format specification that Hudson supports?

7 Answered Questions

12 Answered Questions

[SOLVED] Changing names of parameterized tests

5 Answered Questions

[SOLVED] Initialising mock objects - MockIto

  • 2013-03-19 08:49:22
  • VinayVeluri
  • 164299 View
  • 104 Score
  • 5 Answer
  • Tags:   java junit mockito

6 Answered Questions

[SOLVED] How to test void method with Junit testing tools?

11 Answered Questions

[SOLVED] Surefire is not picking up Junit 5 tests

1 Answered Questions

[SOLVED] Class not found with Ant, Ivy and JUnit - error in build.xml?

  • 2013-04-12 19:27:58
  • andrew cooke
  • 8621 View
  • 3 Score
  • 1 Answer
  • Tags:   java ant junit ivy