com.togethersoft.testing.host
Interface ITestStep

All Known Subinterfaces:
ITestSuite

public interface ITestStep
extends ITestAsset

Represents single step of testing - a JUnit test for instance


Method Summary
 booleancanGenerate()
          canGenerate method checks whether all properties for the step are set .
 voidgenerate(IProgressMonitor progress)
          To set generation options set apporiate attibutes of test asset
like setAttibute("tested.class" , "com.togethersoft.tested.TestedClass");
or addProperty("tested.class" , "com.togethersoft.tested.TestedClass");
addProperty("tested.class.1" , "com.togethersoft.tested.TestedClass1");

Methods inherited from interface com.togethersoft.testing.host.ITestAsset
addUserObject, copy, cut, delete, getLocation, getParent, isReadOnly, pasteAttachments, removeUserObject, removeUserObjects, setAttribute, setName

Methods inherited from interface com.togethersoft.testing.shared.ITestAssetRO
getCategory

Methods inherited from interface com.togethersoft.testing.shared.IElementRO
getAttribute, getChild, getContent, getName, getRefId, getUserObjects, hasUserObject

Method Detail

canGenerate

public boolean canGenerate()
canGenerate method checks whether all properties for the step are set .

generate

public void generate(IProgressMonitor progress)
To set generation options set apporiate attibutes of test asset
like setAttibute("tested.class" , "com.togethersoft.tested.TestedClass");
or addProperty("tested.class" , "com.togethersoft.tested.TestedClass");
addProperty("tested.class.1" , "com.togethersoft.tested.TestedClass1");