Identify test file
Answered
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?
Please sign in to leave a comment.
com.intellij.openapi.roots.TestSourcesFilter#isTestSources may helps you
Thank you for the quick reply! This seems to work!