Class DialectTestKit

java.lang.Object
org.hibernate.dialect.testing.DialectTestKit

@Incubating(since="8.0", group="dialect-testkit") @SPI(USE) public final class DialectTestKit extends Object

Entry point for the provider-oriented, database-free Dialect contract test kit.

Add a provider-owned JUnit @TestFactory which returns DialectTestKit.contractTests(profile). The returned tests exercise Hibernate's real metadata, SQM, SQL AST, and schema-generation pipelines. They are compatibility smoke tests, not certification against a live database.

This class is stateless and thread-safe. Each opened context is thread-confined.

Since:
8.0