Package dev.galasa

Annotation Interface SharedEnvironment


@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface SharedEnvironment
Indicates that this Class setups up and validates a Shared Environment. The structure is the same as a @Test class
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    How many hours after the Shared Environment was built should the Run be discarded, should only matter if the discard was run properly after all the testing has been completed
  • Element Details

    • expireAfterHours

      int expireAfterHours
      How many hours after the Shared Environment was built should the Run be discarded, should only matter if the discard was run properly after all the testing has been completed
      Returns:
      The number of hours to keep the Run
      Default:
      8