New posts in junit

Spring profiles and testing

Exception in thread "main" java.lang.NoClassDefFoundError: junit/textui/ResultPrinter

Get a count for the number of times a @Category appears in a suite of tests in JUnit

How to avoid multiple asserts in a JUnit test?

How to write Junit for jdbcTemplate call method

Try catch in a JUnit test

Excluding a non param test in parameterized test class

Mockito - how to verify that a mock was never invoked

How to define a JUnit method rule in a test suite?

CMake CTest output to JUnit XML

Mockito gives UnfinishedVerificationException when it seems OK

java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation getting while running test project?

What is the difference between Mockito.mock(SomeClass) and the @Mock annotation?

Using different classloaders for different JUnit tests?

How to access Spring context in jUnit tests annotated with @RunWith and @ContextConfiguration?

Android Eclipse Plugin: Instrumentation Test Runner not specified

Eclipse Junit '-ea' VM Option

Mocking Logger and LoggerFactory with PowerMock and Mockito

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

Spring not autowiring in unit tests with JUnit