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?

0
2 comments

com.intellij.openapi.roots.TestSourcesFilter#isTestSources  may helps you

0

Thank you for the quick reply! This seems to work!

0

Please sign in to leave a comment.