Main and Test Directories¶
IntelliJ will allow you to have complex projects, and use complicated file structures, but it needs to know which directories in your project is the source root, and where your tests reside.
- Mark the main directory as Source Root
- Mark the test directory as Test Sources Root