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. 

Sync multiple git repo at once

Use the following command in Linux will do the job:  ls -d RepoNames* | xargs -I{} git -C {} pull