blob: 0fac7de5edf3a4825f9230965cffa688f94d0b6b [file] [log] [blame]
package org.testng.annotations;
/**
* Encapsulate the @Parameters / @testng.parameters annotation
*
* Created on Dec 20, 2005
* @author <a href="mailto:cedric@beust.com">Cedric Beust</a>
*/
public interface IParametersAnnotation extends IAnnotation {
/**
* The list of variables used to fill the parameters of this method.
* These variables must be defined in your testng.xml file.
* For example
* <p>
* <code>
* &#064;Parameters({ "xmlPath" })<br>
* &#064;Test<br>
* public void verifyXmlFile(String path) { ... }<br>
* </code>
* <p>and in <tt>testng.xml</tt>:<p>
* <code>
* &lt;parameter name="xmlPath" value="account.xml" /&gt;<br>
* </code>
*/
public String[] getValue();
}