Closed
Description
JDBC integration tests repeatedly are annotated with
@ContextConfiguration
@Transactional
@ExtendWith(SpringExtension.class)
and other annotations. It is not obvious for which databases some tests run as the typical test infers its config from profiles. Some tests use @ActiveProfiles("hsql")
while others resort to @EnabledIfSystemProperty(named = "spring.profiles.active", matches = "postgres")
.
It would be neat to extract the database type into an enum and use in most places conditions through annotations.