Igor Chubin
Igor Chubin

Reputation: 64563

Hibernate: How to start a single test from the Hibernate test suite?

Hibernate has its own test infrastructure, that can be used to test Hibernate and its various dialects.

The infrastructure is based on JUnit (the Tests) and Gradle (automation of the test process).

More on it you can find here:

You can start all tests from the test suite using gradle:

gradle hibernate-core:matrix_mysql51

In this case all tests of the hibernate-core module will be started. There are more than 4000 tests in the module.

I would like to start only some of them.

How do it do it? Is it possible to use the same testing infrastructure, but start single tests from the testsuite?

Upvotes: 3

Views: 438

Answers (1)

simkam
simkam

Reputation: 266

gradle hibernate-core:matrix_mysql51 -Dmatrix_mysql51.single=annotations/EntityTest

Upvotes: 1

Related Questions