32 Answered Questions

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

12 Answered Questions

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

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

11 Answered Questions

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

16 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
  • 68985 View
  • 107 Score
  • 9 Answer
  • Tags:   java maven junit

4 Answered Questions

[SOLVED] Conditionally ignoring tests in JUnit 4

7 Answered Questions

15 Answered Questions

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

22 Answered Questions

[SOLVED] Compare two JSON objects in Java

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

43 Answered Questions

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

7 Answered Questions

[SOLVED] JUnit testing with simulated user input

4 Answered Questions

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

  • 2011-11-28 11:24:05
  • Ralph
  • 28603 View
  • 68 Score
  • 4 Answer
  • Tags:   java testing junit

4 Answered Questions

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

19 Answered Questions

[SOLVED] How to mock a final class with mockito

  • 2013-01-12 11:23:01
  • buttowski
  • 149921 View
  • 116 Score
  • 19 Answer
  • Tags:   java junit mockito

20 Answered Questions

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

22 Answered Questions

[SOLVED] Maven does not find JUnit tests to run

11 Answered Questions

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

3 Answered Questions

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

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

5 Answered Questions

[SOLVED] Junit4 Test Suites

5 Answered Questions

[SOLVED] Initialising mock objects - MockIto

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

6 Answered Questions

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

8 Answered Questions

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

3 Answered Questions

[SOLVED] Run single test from a JUnit class using command-line

1 Answered Questions

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

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

7 Answered Questions

12 Answered Questions

[SOLVED] Changing names of parameterized tests

11 Answered Questions