Identify and handle tests which don't need to be run on all databases

Description

In our test suite, by default, we run all tests against every database. This can be mitigated using @RequiresDialect, @SkipForDialect, etc.

Many tests in the test suite are run against all databases when they do not need to be. Some patterns I have seen include:

  1. Pure unit tests - tests that test internal utilities, etc

  2. Tests that leverage test-defined Dialects

Activity

Show:

Steve Ebersole March 21, 2025 at 4:21 PM

One option would be to expand the scope of @BaseUnitTest to deal with this. Maybe, e.g., allowing @RequiresDialect to be applied to ANNOTATION_TYPE as well, and add:

Details

Assignee

Reporter

Priority

Created March 21, 2025 at 4:11 PM
Updated March 21, 2025 at 4:21 PM