Package org.simple4j.wsfeeler.model
Class TestCase
java.lang.Object
org.simple4j.wsfeeler.model.TestCase
This class represents a test case in the test suite
-
Field Summary
FieldsModifier and TypeFieldDescriptionMap of test step name and test step objectName of the test caseParent test case objectDirectory of the test caseTest case variables for cross referenceTest suite object -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()booleanexecute()Entry point method to execute the test casevoidgenerateReport(int level) Generates report and prints out in the loggergetProperty(String key) Get test case property for cross referenceResult of the test case executiontoString()
-
Field Details
-
name
Name of the test case -
testCaseDirectory
Directory of the test case -
parent
Parent test case object -
testSuite
Test suite object -
testCaseVariables
Test case variables for cross reference -
executedTestSteps
Map of test step name and test step object
-
-
Constructor Details
-
TestCase
-
-
Method Details
-
getSuccess
Result of the test case execution- Returns:
- - true if successful
-
execute
public boolean execute() throws IOException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException, ClassNotFoundException, InterruptedException, ExecutionExceptionEntry point method to execute the test case -
call
-
getProperty
Get test case property for cross reference- Parameters:
key-- Returns:
-
toString
-
generateReport
public void generateReport(int level) Generates report and prints out in the logger- Parameters:
level-
-