Annotation Type Seeds


  • @Documented
    @Retention(RUNTIME)
    @Target(METHOD)
    @Inherited
    public @interface Seeds
    Defines a list of starting seeds for a given test.

    Typically, you'll want to override the class's seed to make the test repeat a "fixed" scenario in which the test was known to fail in the past. In addition, you may still permit a randomized seed by adding a non-restricted Seed as in:

     @Seeds({
       @Seed("deadbeef"),
       @Seed("cafebabe"), 
       @Seed()})
     
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Seed[] value
      A non-empty array of Seeds.
    • Element Detail

      • value

        Seed[] value
        A non-empty array of Seeds.