io.qameta.allure.history.HistoryTrendPlugin Java Examples

The following examples show how to use io.qameta.allure.history.HistoryTrendPlugin. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AllureReportGenerator.java    From vividus with Apache License 2.0 5 votes vote down vote up
private void generateData() throws IOException
{
    List<Extension> plugins = List.of(
            new SummaryPlugin(),
            new HistoryTrendPlugin(),
            new DurationTrendPlugin(),
            new ExecutorPlugin()
    );
    Configuration configuration = new ConfigurationBuilder().useDefault().fromExtensions(plugins).build();
    new ReportGenerator(configuration).generate(reportDirectory.toPath(), List.of(resultsDirectory.toPath()));
}
 
Example #2
Source File: AllureReportGenerator.java    From AuTe-Framework with Apache License 2.0 5 votes vote down vote up
private Configuration createConfiguration() {
    ConfigurationBuilder configurationBuilder = new ConfigurationBuilder().fromExtensions(Arrays.asList(
            new JacksonContext(),
            new MarkdownContext(),
            new FreemarkerContext(),
            new RandomUidContext(),
            new ProjectContext(),
            new MarkdownDescriptionsPlugin(),
            new TagsPlugin(),
            new SeverityPlugin(),
            new OwnerPlugin(),
            new DefaultCategoriesPlugin(),
            new CategoriesPlugin(),
            new HistoryRestorePlugin(),
            new HistoryPlugin(),
            new HistoryTrendPlugin(),
            new DurationPlugin(),
            new DurationTrendPlugin(),
            new StatusChartPlugin(),
            new TimelinePlugin(),
            new SuitesPlugin(),
            new ReportWebPlugin(),
            new TestsResultsPlugin(),
            new AttachmentsPlugin(),
            new SummaryPlugin(),
            new ExecutorPlugin(),
            new LaunchPlugin(),
            new Allure1Plugin(),
            new Allure1EnvironmentPlugin(),
            new Allure2Plugin()
    ));
    List<Plugin> plugins = loadPlugins();
    if (!plugins.isEmpty()) {
        configurationBuilder = configurationBuilder.fromPlugins(plugins);
    }
    return configurationBuilder.build();
}
 
Example #3
Source File: ConfigurationBuilder.java    From allure2 with Apache License 2.0 5 votes vote down vote up
public ConfigurationBuilder useDefault() {
    fromExtensions(Arrays.asList(
            new JacksonContext(),
            new MarkdownContext(),
            new FreemarkerContext(),
            new RandomUidContext(),
            new MarkdownDescriptionsPlugin(),
            new RetryPlugin(),
            new RetryTrendPlugin(),
            new TagsPlugin(),
            new SeverityPlugin(),
            new OwnerPlugin(),
            new IdeaLinksPlugin(),
            new HistoryPlugin(),
            new HistoryTrendPlugin(),
            new CategoriesPlugin(),
            new CategoriesTrendPlugin(),
            new DurationPlugin(),
            new DurationTrendPlugin(),
            new StatusChartPlugin(),
            new TimelinePlugin(),
            new SuitesPlugin(),
            new ReportWebPlugin(),
            new TestsResultsPlugin(),
            new AttachmentsPlugin(),
            new MailPlugin(),
            new InfluxDbExportPlugin(),
            new PrometheusExportPlugin(),
            new SummaryPlugin(),
            new ExecutorPlugin(),
            new LaunchPlugin(),
            new Allure1Plugin(),
            new Allure1EnvironmentPlugin(),
            new Allure2Plugin(),
            new GaPlugin()
    ));
    return this;
}