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

net.masterthought.cucumber.reducers.ReportFeatureAppendableMerger Maven / Gradle / Ivy

Go to download

Provides pretty html reports for Cucumber. It works by generating html from the cucumber json file.

There is a newer version: 5.8.2
Show newest version
package net.masterthought.cucumber.reducers;

import net.masterthought.cucumber.json.Feature;

import java.util.ArrayList;
import java.util.List;
import java.util.Optional;

final class ReportFeatureAppendableMerger implements ReportFeatureMerger {

    @Override
    public List merge(List features) {
        return Optional.ofNullable(features).orElse(new ArrayList<>());
    }

    @Override
    public boolean test(List reducingMethods) {
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy