Shell code to migrate Java sources from JUnit3 to JUnit4.
Shell Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
test
README.md
junit3ToJUnit4.zsh

README.md

Convert JUnit3 code into JUnit4

Script is not perfect, but it goes a long way towards dealing with the most common problems.

Does not address calls to

junit.framework.TestSuite.addTestSuite(clazz);

for these you need to use @RunWith(Suite.class).