Compiling Spock tests with Eclipse-Groovy compiler -> Error:Groovy-Eclipse: … 53 more

When compiling tests with eclipse-groovy compiler, i recieve the following error for each and every test:

 Error:Groovy-Eclipse:  ... 53 more 

test example:

package core

import grails.test.mixin.TestFor
import spock.lang.Specification

/**
 * See the API for {@link grails.test.mixin.domain.DomainClassUnitTestMixin} for usage instructions
 */
@TestFor(Scenario)
class ScenarioSpec extends Specification {

    def setup() {
    }

    def cleanup() {
    }

    void "test something"() {

    }
}

removing the tests,resolves the issue

anyone familiar with the error?


Source: eclipse

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.