|
Methods defined here:
- __init__(self, name, testActionList, dependsList=None, repetitions=1)
- Constructor for a test plan task.
Keyword Arguments:
name -- Name of this test action.
dependsList -- The list of task names upon which the execution of this task is dependent.
repetitions -- How many times to execute this task.
testActionList -- The actual test actions that make up this task.
- clearTaskResults(self)
- Reset the task so that for this iteration of its execution, it's results are all cleared.
- execute(self, fullHostString, tokenDictionary, taskHistory)
- Execute each task item in this task's list. All must succeed for every
repetition in order for the task itself to succeed.
Keyword Arguments:
fullHostString -- The full host string for the web server you are testing.
tokenDictionary -- The current token dictionary for the test.
taskHistory -- The list of previously executed tasks in this test plan. This
list is checked for the success of tasks on which the current task is dependent.
- getDependsList(self)
- Return list of dependencies.
- getEndTime(self)
- Return the end time for this task's execution.
- getLastRepetition(self)
- Return the last repetition of this task that was executed.
- getName(self)
- Return the name of this task.
- getPlanIteration(self)
- Return the current test plan iteration.
- getRepetitions(self)
- Return the number of times this action is to be executed.
- getSkipCause(self)
- Return the name of the failed task whose failure caused this task to be skipped.
- getStartTime(self)
- Return the start time for this task's execution.
- getSucceeded(self)
- Return whether or not this task has been executed successfully.
- getTaskResultsList(self)
- Return a list of lists of task item analysis result objects.
- getTestActionList(self)
- Return the list of task items.
- setEndTime(self, endTime)
- Set the end time for this task's execution.
Keyword Arguments:
endTime -- The end time for execution of this task.
- setLastRepetition(self, lastRepetition)
- Set the last repetition executed.
Keyword Arguments:
lastRepetition -- The last repetition of this task that is executed.
- setPlanIteration(self, planIteration)
- Set the plan iteration for this test action's execution.
Keyword Arguments:
planIteration -- The current iteration of the test plan's execution.
- setSkipCause(self, skipCause)
- Set the name of the first task whose failure causes this task to be skipped.
Keyword Arguments:
skipCause -- The name of the first task whose failure causes this task to be skipped.
- setStartTime(self, startTime)
- Set the start time for this task's execution.
Keyword Arguments:
startTime -- The start time for execution of this task.
Data and non-method functions defined here:
- __doc__ = 'Each task in a test plan can be made up of one ...s class represents a single task in a test plan.'
- __module__ = 'task'
|