Skip to content

@DataStormTest slice: repositories are unproxied and standard verification tools are missing #401

Description

@zantvoort

st.orm.spring.boot.test.DataStormTest.imports omits RepositoryAopAutoConfiguration, which storm-spring's own AutoConfiguration.imports registers. Repositories in the slice are therefore unproxied, and @Transactional/interface-level advice behave differently than in production, undercutting the slice's purpose.

Also missing: JdbcTemplateAutoConfiguration (no way to verify database state outside the ORM under test, the standard slice-test pattern) and ServiceConnectionAutoConfiguration (@ServiceConnection on a @Bean-declared container silently does nothing, while docs/spring-integration.md:671-692 advertises it).

Related packaging issues in storm-spring-boot-test-autoconfigure: it declares storm-spring-boot-starter at test scope while six of its .imports entries are non-optional:, so a consumer without the starter gets a raw ClassNotFoundException from the import selector; and junit-jupiter-api at compile scope pins the consumer's JUnit version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingspringSpring and Spring Boot integration

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions