Annotation Type Stress


@Retention(RUNTIME) @Target(METHOD) public @interface Stress
Indication for test cases that require extra knowledge to setup the testing environment properly. (Such as more memory required than usual, or a calm system to run large I/O tests on)

Tests that have been marked as Stress can often be moved to Slow as time progresses (and general system capabilities improve).

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The non-optional reason why the test is set as Stress.
  • Element Details

    • value

      String value
      The non-optional reason why the test is set as Stress.

      Indicate what sort of environmental concerns this test has.

      Eg: "High memory use: > 2GB", "High file descriptor use", "Needs calm system"

      Returns:
      the string reason why the test is set as Stress.