Re: Running a single test

2025-07-13 Thread Per Nyfelt
I tried the code @Grab('org.apache.commons:commons-digester3:3.2;transitive=false') @GrabConfig(autoDownload=false) import org.apache.commons.digester3.Digester assert Digester.name.size() == 37 in a separate groovy file and executed it with the `groovy` command: $ groovy testAutoDownloadGrape

Re: Running a single test

2025-07-13 Thread Per Nyfelt
I checked again just now. gradlew :test --tests=groovy.grape.GrapeIvyTest -Djunit.network=true  Fails on testAutoDownloadGrapeConfigFalse with the following error: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during conversion: Error grabbing Gra

Re: Running a single test

2025-07-02 Thread Per Nyfelt
Thanks Paul, adding junit.network=true enabled med to run the test. On the master branch, the GrapeIvyTest fails on this test: testAutoDownloadGrapeConfigFalse() Is that the case for you as well? Regards, Per On 7/1/25 01:31, Paul King wrote: There is a switch to turn off groovy.grape tests

Re: Running a single test

2025-06-30 Thread Paul King
There is a switch to turn off groovy.grape tests in certain circumstances. I am not sure it is defaulting correctly, but you can be sure it runs with: gradlew :test --tests=groovy.grape.GrapeIvyTest -Djunit.network=true On Tue, Jul 1, 2025 at 6:50 AM Per Nyfelt wrote: > I am trying to run the