IDEA13 "Class not found:" when running an ordinary grails unit test

Hi,

I am using IntelliJ 13.0.1
I have a simple unit test in Grails.

@TestFor(Verse)
class VerseTests {

    void testSomething() {
       fail "Implement me"
    }
}


When I run it as a JUnit test it fails with error message
Class not found: "VerseTests"

I can run it as a grails test but I want to run it with Junit, it's faster. I am pretty sure that I have managed to run grails unit tests with JUnit after upgrading to IDEA13.

Thx /Lasse
5 comments
Comment actions Permalink

On Mac OsX 10.9.1 by the way.

0
Comment actions Permalink

Also experiencing this issue.  Any resolution?

0
Comment actions Permalink
0
Comment actions Permalink

I am also experiencing the same problem. It is a Grails project where pom=true is set in BuildConfig.groovy.

Also running IDEA 13.1.3 on OS X 10.9.3 with JDK 1.7.0_40

0

Please sign in to leave a comment.