net.thucydides.junit.runners
Class QualifierFinder
java.lang.Object
net.thucydides.junit.runners.QualifierFinder
public class QualifierFinder
- extends Object
When running data-driven tests, each set of test data needs a way to distinguish it from the others.
This class provides means to distinguish instantiated test cases. By default, the toString() method is used.
If a public method that returns a String is marked with the Qualifier annotation, this method will be used instead.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QualifierFinder
public QualifierFinder(Object testCase)
forTestCase
public static QualifierFinder forTestCase(Object testCase)
getQualifier
public String getQualifier()
Copyright © 2011 Wakaleo Consulting. All Rights Reserved.