net.sf.jameleon
Class TestSuiteTag
java.lang.Object
org.apache.commons.jelly.TagSupport
net.sf.jameleon.LocationAwareTagSupport
net.sf.jameleon.JameleonTagSupport
net.sf.jameleon.TestSuiteTag
- All Implemented Interfaces:
- Attributable, DynaTag, LocationAware, Tag
public class TestSuiteTag
- extends JameleonTagSupport
This is currently a tag meant to group several test case scripts
together into a test suite.
An example use might be:
<test-suite name="some test suite name">
<precondition>
<test-script script="scripts/setup.xml"/>
</precondition>
<test-script script="scripts/foo/0002.xml"/>
<test-script script="scripts/foo/0003.xml"/>
</test-suite>
NOTE: There is currently no support for a postcondition tag yet.
Tag Name: <test-suite>
Methods inherited from class net.sf.jameleon.JameleonTagSupport |
cleanVariablesInContext, createAttributes, describeAttributes, getAttributeBroker, getAttributes, getAttributeType, getClassAttributes, getFunctionalPoint, getUnsupportedAttributes, loadFunctionalPoint, resetFunctionalPoint, setAttribute, setVariableInContext, testForUnsupportedAttributesCaught |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
executor
protected ExecuteTestCase executor
- The executor to use to execute all test scripts
testSuiteListener
protected String testSuiteListener
- A fully qualified class name that implements TestSuiteListener.
This attribute is recognized by Jameleon
name
protected String name
- The name of the test suite.
This attribute is recognized by Jameleon
TestSuiteTag
public TestSuiteTag()
init
public void init()
throws MissingAttributeException
- Throws:
MissingAttributeException
registerTestSuiteListener
public void registerTestSuiteListener(String testSuiteListener)
getExecuteTestCase
public ExecuteTestCase getExecuteTestCase()
doTag
public void doTag(XMLOutput out)
throws MissingAttributeException,
JellyTagException
- This method executes the tags inside the test-suite tag.
- Throws:
MissingAttributeException
JellyTagException
Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.