All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.yandex.qatools.allure.plugins.WithWidget Maven / Gradle / Ivy

There is a newer version: 1.5.4
Show newest version
package ru.yandex.qatools.allure.plugins;

/**
 * You can add widget to allure report. Widgets are shown at overview
 * tab in the report. There are few supported types of widgets:
 * Key-value list, List with statistics, defects (message with status and count
 * of these messages) and chart.
 *
 * @author Dmitry Baev [email protected]
 *         Date: 22.04.15
 * @see ProcessPlugin
 * @see ru.yandex.qatools.allure.data.WidgetType
 * @see KeyValueWidget
 * @see StatsWidget
 * @see DefectsWidget
 */
public interface WithWidget {

    /**
     * Name for plugin. Name should be unique and contains only latin characters.
     */
    String getName();

    /**
     * Get plugin widget content. You must implement {@link ProcessPlugin} to collect
     * information from test results.
     */
    Object getWidgetData();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy