public static final class CelestaUnitExtension.Builder extends Object
Modifier and Type | Method and Description |
---|---|
CelestaUnitExtension |
build()
Generates CelestaUnitExtension with given parameters.
|
CelestaUnitExtension.Builder |
withReferentialIntegrity(boolean referentialIntegrity)
Sets referential integrity.
|
CelestaUnitExtension.Builder |
withResetSequences(boolean resetSequences)
Resets sequences before each test (true by default).
|
CelestaUnitExtension.Builder |
withScorePath(String scorePath)
Sets score path.
|
CelestaUnitExtension.Builder |
withTruncateTables(boolean truncateTables)
Sets tables truncation before each test (true by default).
|
public CelestaUnitExtension.Builder withScorePath(String scorePath)
scorePath
- Score path (maybe relative to project root).public CelestaUnitExtension.Builder withReferentialIntegrity(boolean referentialIntegrity)
referentialIntegrity
- Set to false to disable.public CelestaUnitExtension.Builder withTruncateTables(boolean truncateTables)
truncateTables
- Set to true to truncateTables each table before each test.public CelestaUnitExtension.Builder withResetSequences(boolean resetSequences)
resetSequences
- Set to true to reset sequences before each testpublic CelestaUnitExtension build()
Copyright © 2022 CURS. All rights reserved.