Decathlon / tzatziki

Decathlon library to ease and promote Test Driven Development of Java microservices!
Apache License 2.0
61 stars 30 forks source link

Handle multiple db schema clean #345

Closed alexandrepa closed 1 month ago

alexandrepa commented 1 month ago

Add the ability to specify schemas to clean in a List. In the code we prefix table names with schema => (schema.table) in SQL TRUNCATE commands. We retrieve schema name from entity in the annotation @Table like we do for tableName.

Impacts : Property (String) SpringJPASteps.schemaToClean has been migrated to => (List<String>) SpringJPASteps.schemasToClean

Fix #344 Fix #340

sonarcloud[bot] commented 1 month ago

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint