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

com.applitools.eyes.exceptions.NewTestException Maven / Gradle / Ivy

The newest version!
package com.applitools.eyes.exceptions;

import com.applitools.eyes.TestResults;

/**
 * Indicates that a new test (i.e., a test for which no baseline exists) ended.
 */
public class NewTestException extends TestFailedException {

    public NewTestException(TestResults testResults, String scenarioIdOrName, String appIdOrName){
        super(testResults, String.format("'%s' of '%s'. Please approve the new baseline at %s",
                scenarioIdOrName,
                appIdOrName,
                testResults.getUrl()));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy