Annotation Type SeedDecorators


  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface SeedDecorators
    Allows modifying the master seed (before the suite is started).

    Use this annotation when you want to perturb or modify the master seed. This may be useful if there are decisions taken in static contexts of multiple suites. In such a case these decisions would always be identical (because at static context level the seed is always derived from the same master). With a SeedDecorator one can perturb the seed for every suite.

    • Extra care should be used to make permutations consistent across different runs.
    • Seed decorators must be thread-safe, re-entrable, preferably unsynchronized and must never fail!
    See Also:
    value()
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends SeedDecorator>[] value