-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spock-based unit tests are not being run via Gradle #937
Comments
Patch file:
|
nickdos
added a commit
that referenced
this issue
Jan 16, 2025
nickdos
added a commit
that referenced
this issue
Jan 16, 2025
nickdos
added a commit
that referenced
this issue
Jan 16, 2025
nickdos
added a commit
that referenced
this issue
Jan 16, 2025
nickdos
added a commit
that referenced
this issue
Jan 16, 2025
nickdos
added a commit
that referenced
this issue
Jan 17, 2025
* #937 Gradle config fixes for Spock tests to run * #937 Fixed broken test QueryFormatUtilsSpec.groovy * #937 Fixed FieldMappedSolrClientSpecIT * #937 Ignored test that fails with SOLR cluster * #937 Attempt at fixing Travis test failure * #938 More fixes for Travis tests failing * #938 Revert LoggerRestService changes - Didn't help * #938 Another attempt at fixing Travis test error * #938 Set test to @ignore due to failing on Travis * #938 @ignore LoggerServiceSpec - Is stalling Travis builds but working locally so difficult to debug * #938 Removed println left in test code
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running the unit tests via gradle (CI/CD build), only Junit tests are being executed. Attempting to manually run a Spock unit test via
gradle test --tests "*Spec",
results in an error message:I got them working as part of another issue, so including the
build.gradle
file below.As many of these
*Spec
tests have not been run for a while, many are failing, so they need to be fixed or marked as ignored as part of this issue.Adam suggests that the test file (
src/test/java/au/org/ala/biocache/util/QueryFormatUtilsSpec.groovy
):The text was updated successfully, but these errors were encountered: