[hibernate-dev] run a single unit test???? do I really have to manually put -x for every task I do not want?

Jason Pyeron jpyeron at pdinc.us
Wed Apr 22 16:48:10 EDT 2020


Does anyone know how to get a single unit test to run without building a battleship too? Tried in eclipse too.

./gradlew test --tests org.hibernate.test.annotations.cid.CompositeIdFkGeneratedValueIdentityTest

... 5 minutes later ...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':documentation:test'.
> No tests found for given includes: [org.hibernate.test.annotations.cid.CompositeIdFkGeneratedValueIdentityTest](--tests filter)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4m 38s
36 actionable tasks: 35 executed, 1 up-to-date

--
Jason Pyeron  | Architect
PD Inc        |
10 w 24th St  |
Baltimore, MD |
 
.mil: jason.j.pyeron.ctr at mail.mil
.com: jpyeron at pdinc.us
tel : 202-741-9397






More information about the hibernate-dev mailing list