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

tools.properties.TestNG Maven / Gradle / Ivy

Go to download

An open-source Selenium Java-based Test automation Framework that allows you to perform multiple actions to test a web application's functionality, behaviour, which provides easy to use syntax, and easy to set up environment according to the needed requirements for testing

There is a newer version: 1.1.1
Show newest version
package tools.properties;

import org.aeonbits.owner.Accessible;
import org.aeonbits.owner.Config;
import org.aeonbits.owner.Config.LoadPolicy;
import org.aeonbits.owner.Config.LoadType;
import org.aeonbits.owner.Config.Sources;
import org.aeonbits.owner.Reloadable;

@LoadPolicy(LoadType.MERGE)
@Sources({"file:src/main/resources/properties/TestNG.properties",
        "classpath:src/main/resources/properties/TestNG.properties"})
public interface TestNG extends Config, Accessible, Reloadable {

    @Key("setParallel")
    @DefaultValue("NONE")
    String parallel();

    @Key("setThreadCount")
    @DefaultValue("1")
    int threadCount();

    @Key("setVerbose")
    @DefaultValue("1")
    Integer verbose();

    @Key("setPreserveOrder")
    @DefaultValue("true")
    boolean preserveOrder();

    @Key("setGroupByInstances")
    @DefaultValue("true")
    boolean groupByInstances();

    @Key("setDataProviderThreadCount")
    @DefaultValue("1")
    int dataProviderThreadCount();

    @Key("setRetryFailedTestAttempts")
    @DefaultValue("0")
    int retryFailedTestAttempts();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy