Annotation Type WikisSource


  • @Target({ANNOTATION_TYPE,METHOD})
    @Retention(RUNTIME)
    @Documented
    @ArgumentsSource(org.xwiki.test.docker.junit5.WikisArgumentsProvider.class)
    public @interface WikisSource
    WikiSource is an ArgumentsSource which allow executing a test on several wikis.
    Since:
    14.5
    Version:
    $Id: 6864fad555831e3f9fd27c381b2b3c3d6946a8b1 $
    • Element Detail

      • value

        int value
        Returns:
        the number of sub wikis to also execute the test on
        Default:
        1
      • mainWiki

        boolean mainWiki
        Returns:
        true if the test should be executed with the main wiki too
        Default:
        true
      • extensions

        String[] extensions
        Returns:
        the extensions to install on subwikis
        Default:
        {}