Skip to content

Avoid hardcoding table and repository names in Spring integration tests generator #2225

Description

@EgorkaKulikov

Description

Current implementation of Spring integration testing has the following lines:

// TODO properly detect which repositories need to be cleared, right now "orders" is hardcoded
val sql = "TRUNCATE TABLE orders"

Expected behavior

We need to avoid hardcode and obtain table and repository names from stateBefore.thisInstance.utAutowiredModel.repoContent

Metadata

Metadata

Assignees

Labels

comp-instrumented-processIssue is related to Instrumented processcomp-springIssue is related to Spring projects supportctg-enhancementNew feature, improvement or change request

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions