Once you have created a project, you can start adding new items: create directories and packages, add new classes, import resources, and extend your project by adding more modules. For example, this may be inconvenient if your source code files and files that are generated automatically (by a compiler, for instance) are placed in the same directories, and you want to exclude the generated files only. Under Project Settings, click Modules and then open the Sources tab on the right. This is done by means of file templates. In the Project tool window (Alt+1), right-click the node in which you want to create a new directory and select New | Directory. IntelliJ IDEA Community Edition for convenient and fast Java project development work. You can also add libraries to your project manually. JUnit 5 supports many different types of array input for this annotation, lets use an array of hardcoded ints for this test. If there's only one test for this class, the IDE will navigate you to it right away. Select Gradle as a build tool. Now, right click the tests folder, and select " Mark directory as/Test Sources Root ". A dialog box will appear wherein, you have to select Create New Test. Modules normally have one content root. Now we need to apply the changes in the build script. To change this, go to File/Settings (Ctrl + Alt + S), go to Editor/File and Code Templates, navigate to the Code tab, and find the JUnit4 Test Method. Under Project Settings, select Libraries and click | From Maven. These files are usually organized in a hierarchy. (I tried