Identify test file
已回答
How can I know if a specific file that is open in the editor is a unit test file or a non-test (i.e., production) file?
请先登录再写评论。
com.intellij.openapi.roots.TestSourcesFilter#isTestSources may helps you
Thank you for the quick reply! This seems to work!