Tuesday, January 5, 2016

Using @RunWith(SpringJUnit4ClassRunner.class)

If you use @RunWith(SpringJUnit4ClassRunner.class) in a JUnit test class and it just cannot run, do double check your JUnit version.

It requires JUnit 4.9 or above. 

No comments:

Post a Comment

CSP on Apache

To add CSP to root if sort of funny. The following will NOT work for most cases !!     <LocationMatch "^/$">        Header s...