how to create java test folder in intellij idea

create directory src/test/java, file->project structure->modules, click "sources" tab, select the src/test/java directory just created, in "mark as" line, click "Tests", apply->ok !


你可能感兴趣的:(how to create java test folder in intellij idea)