Class CelestaUnitExtension.Builder

  • Enclosing class:
    CelestaUnitExtension

    public static final class CelestaUnitExtension.Builder
    extends Object
    Builder for CelestaUnitExtension, that allows to override defaults.
    • Method Detail

      • withScorePath

        public CelestaUnitExtension.Builder withScorePath​(String scorePath)
        Sets score path.
        Parameters:
        scorePath - Score path (maybe relative to project root).
      • withReferentialIntegrity

        public CelestaUnitExtension.Builder withReferentialIntegrity​(boolean referentialIntegrity)
        Sets referential integrity.
        Parameters:
        referentialIntegrity - Set to false to disable.
      • withTruncateTables

        public CelestaUnitExtension.Builder withTruncateTables​(boolean truncateTables)
        Sets tables truncation before each test (true by default).
        Parameters:
        truncateTables - Set to true to truncateTables each table before each test.
      • withResetSequences

        public CelestaUnitExtension.Builder withResetSequences​(boolean resetSequences)
        Resets sequences before each test (true by default).
        Parameters:
        resetSequences - Set to true to reset sequences before each test