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

CookerCucumberMavenPlugin.FileGenFactory.FeatureFileGenerator Maven / Gradle / Ivy

Go to download

Derives smallest Feature File, Allows Data from Excel(xls and xlsx) and Also provides a clear and concise reporting

There is a newer version: 3.1.0
Show newest version
package CookerCucumberMavenPlugin.FileGenFactory;

import CookerCucumberMavenPlugin.FileFactory.FileUtils;

public class FeatureFileGenerator {

    //Feature File Extension
    private static final String FF_EXTENSION = ".feature";

    /**
     * static method used to generate Feature Files. gets the content from feature file and feature file name
     *
     * @param Content         //Content for Feature File
     * @param FeatureFileName //Full Path of Feature File including file name
     */
    public static void genFeatureFile(String Content, String FeatureFileName) {
        //Uses static method from fileutils class to create a feature file
        FileUtils.writeAndCreateFile(Content, FeatureFileName + FF_EXTENSION);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy