16 November 2011

Create a test case in Intellij IDEA

Position yourself on the name of the class you want to create a test for and press [ALT] + [ENTER].


IntelliJ will let you select your test framework (JUnit 3/4, TestNG) and you can select all methods in the original class you want to generate skeletons for (pity they forgot a select all button).