Annotation Type Scope


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Documented
    public @interface Scope
    Used to specify which test data to run in the test suite. By default runs all tests ending with .xml found in the classpath.

    For example:

    
     @RunWith(CompatibilityTestSuite.class)
     @Syntax("xwiki/2.0")
     @Scope("simple")
     public class MySyntaxTest
     {
     ...
     }
     
    Since:
    4.1M1
    Version:
    $Id: a7deba3ad326c0260c24dfe953ac1b9bab3a6b9c $
    See Also:
    CompatibilityTestSuite
    • Element Detail

      • value

        String value
        Returns:
        the classpath prefix to search in.
        Default:
        ""