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

com.griddynamics.qa.datapool.IMatcher Maven / Gradle / Ivy

Go to download

Test Data Pool tool is intended to mitigate risks of running automated tests against multiple unstable “FullDB” environments having unpredictable set of data.

The newest version!
package com.griddynamics.qa.datapool;

import com.griddynamics.qa.datapool.datatype.IDataType;

import java.util.function.Predicate;

/**
 * @author Alexey Lyanguzov.
 */
public interface IMatcher{
    /**
     * @param propName - property name
     * @param value - property value
     * @return matcher implementation as a Predicate class to be run
     */
    Predicate getMatcher(String propName, Object value);

    /**
     * @return name of the matcher
     */
    default String name(){
        return this.getClass().getSimpleName();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy