Community
Participate
Working Groups
I'm running tests using the Spock framework. When names of the functions contain spaces (as they usually do), clicking on the function name in the JUnit-View results in the error message: Method 'Test' not found. Opening the test class. When I run the following tests, clicking on "TestMaximum" in in JUnit View works, while clicking on "Test Minimum" does not. ------------------------------------------------------- package tld.domain.test import spock.lang.Specification class TestSpockTests extends Specification { def "TestMaximum"() { when: def x = Math.max(1, 2) then: x == 2 } def "Test Minimum"() { when: def x = Math.min(1, 2) then: x == 1 } }
Created attachment 246864 [details] Error message when clicking on "Test Minimum".
Created attachment 246865 [details] JUnit View for the two test methods.
*** This bug has been marked as a duplicate of bug 343129 ***