New posts in junit

How can I unit test void functions?

What does this do: @RunWith(SpringJUnit4ClassRunner.class)

Failed to load ApplicationContext for JUnit test of Spring controller

Testing Storm Bolts and Spouts

How would I add an annotation to exclude a method from a jacoco code coverage report?

How to mock static method without powermock

@Value "Could not resolve placeholder" in Spring Boot Test

Can I check for usage of lombok.experimental.* annotations with ArchUnit?"

Spring - applicationContext.xml cannot be opened because it does not exist

Junit Parameterized tests together with Powermock - how?

Ambiguous method call Both assertEquals(Object, Object) in Assert and assertEquals(double, double) in Assert match:

How to set a long Java classpath in Windows?

Junit @Rule and @ClassRule

Why isn't my @BeforeClass method running?

SpringRunner vs SpringBootTest

How can I wipe data from my HSQLDB after every test?

Cannot find symbol assertEquals

JUnit: Possible to 'expect' a wrapped exception?

junit testing for user input using Scanner

"Forked Java VM exited abnormally" error from junit tests