Skip to content

Refine JDBC integration tests #1620

Closed
Closed
@mp911de

Description

@mp911de

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions