We have our unit and integration tests within package structures in our grails project and compile fails with a ".../Library/Caches/IntelliJIdea90/compiler/<project>/.generated/groovyStubs/<project>/com/foo/domain/FooTests.java"
Error:(17, 31) cannot find symbol class Foo
the test has an import to com.foo.domain.Foo
To get around for now I'm excluding the tests from compile. But I would rather be able to run tests within intelliJ. Any suggestions?