java.lang.Exception: No tests found matching grails test target pattern filter from org.junit.runner.Request$1@14a001b

SpringSource Issue Tracker | William Woodman | 3 years ago
  1. 0

    download fresh install of 3.5m2. Create first grails project. create a simple domain object. Try and run the unit test it creates for you Loading Grails 2.3.5 |Configuring classpath . |Environment set to test ...................................... |Running without daemon... ................................Error | Error running forked test-app: Error occurred processing message bundles: Error starting Sun's native2ascii: (Use --stacktrace to see the full trace) Error | Forked Grails VM exited with error then to fix - goto buildConfig and edit grails.project.fork test:false and rerun - this time test runs ok - but fails as the default template doesnt have correct spock format. you can then rest the grails.project.fork back to original and still keeps working Whilst we are at it I suggest that you change the default unit test template to include valid when:/then: structure this caught me out on GGTS 3.4 as well - may as well save all those nebies to come with something that will work. The default spock template you generate wont run so test void "test something"() { } errors like this - bit silly and easyly fixed | java.lang.Exception: No tests found matching grails test target pattern filter from org.junit.runner.Request$1@14a001b at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:35) at org.junit.runner.JUnitCore.run(JUnitCore.java:138) at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:102) at TestApp$_run_closure1.doCall(TestApp.groovy:32) |Completed 1 unit test, 1 failed in 0m 0s .Tests FAILED

    SpringSource Issue Tracker | 3 years ago | William Woodman
    java.lang.Exception: No tests found matching grails test target pattern filter from org.junit.runner.Request$1@14a001b
  2. 0

    download fresh install of 3.5m2. Create first grails project. create a simple domain object. Try and run the unit test it creates for you Loading Grails 2.3.5 |Configuring classpath . |Environment set to test ...................................... |Running without daemon... ................................Error | Error running forked test-app: Error occurred processing message bundles: Error starting Sun's native2ascii: (Use --stacktrace to see the full trace) Error | Forked Grails VM exited with error then to fix - goto buildConfig and edit grails.project.fork test:false and rerun - this time test runs ok - but fails as the default template doesnt have correct spock format. you can then rest the grails.project.fork back to original and still keeps working Whilst we are at it I suggest that you change the default unit test template to include valid when:/then: structure this caught me out on GGTS 3.4 as well - may as well save all those nebies to come with something that will work. The default spock template you generate wont run so test void "test something"() { } errors like this - bit silly and easyly fixed | java.lang.Exception: No tests found matching grails test target pattern filter from org.junit.runner.Request$1@14a001b at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:35) at org.junit.runner.JUnitCore.run(JUnitCore.java:138) at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:102) at TestApp$_run_closure1.doCall(TestApp.groovy:32) |Completed 1 unit test, 1 failed in 0m 0s .Tests FAILED

    SpringSource Issue Tracker | 3 years ago | William Woodman
    java.lang.Exception: No tests found matching grails test target pattern filter from org.junit.runner.Request$1@14a001b
  3. 0

    Error in test phase.

    GitHub | 2 years ago | mtm0riah
    java.lang.Exception: No tests found matching grails test target pattern filter from org.junit.runner.Request$1@4dbf3e93
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Rerun failed spock unit test in a grails project attempts to execute as junit

    YouTrack | 2 years ago
    java.lang.Exception: No tests found matching grails test target pattern filter from org.junit.runner.Request$1@4acf770c
  6. 0

    Grails 2.3.4 unit test error

    YouTrack | 3 years ago
    java.lang.Exception: No tests found matching grails test target pattern filter from org.junit.runner.Request$1@44ac7d7b

  1. tfr 8 times, last 4 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.Exception

    No tests found matching grails test target pattern filter from org.junit.runner.Request$1@14a001b

    at org.junit.internal.requests.FilterRequest.getRunner()
  2. JUnit
    JUnitCore.run
    1. org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:35)
    2. org.junit.runner.JUnitCore.run(JUnitCore.java:138)
    2 frames
  3. Unknown
    TestApp$_run_closure1.doCall
    1. _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:102)
    2. TestApp$_run_closure1.doCall(TestApp.groovy:32)
    2 frames