Creating Test Methods
To create stub test methods in JUnit test classes, you can use the IntelliJ IDEA code generation feature.
Creating a stub test method in a JUnit test class
- Open the corresponding JUnit test class in the editor.
- Place the cursor where you want a new test method to be generated.
- Press Alt+Insert and select Test Method from the Generate menu.
Last modified: 4 December 2014