My project has two source trees for test classes -- one for integration tests and the other for unit tests.
Should I happen to have a class which requires both a integration and unit test, I am accustomed to naming both of them Test[tested class].java. However, IDEA marks this as an error -- complaining that a duplicate class exists.
This is incorrect, in my opinion. The two test source trees are never compiled or executed together. While I can simply use a new name for the second test class, I don't feel as if my naming scheme should be dictated by IDE behavoir.
Has anyone else experienced this scenerio? Besides using a new class name, are there other workarounds?