task (version 0.8.8, 30 April 2002)
index
c:\work\puffin\task.py

The Task is the main action item in a test plan. It can represent a single test action or
multiple test actions. 
 
Here is the format for a <task> element in a complex test plan:
 
   <task name='[TASK_NAME]' depends="[DEPENDENT_TASKNAME1, DEPENDENT_TASKNAME2, ...]" repeat='#'>
      <testAction name='testAction1'/>
      <testAction name='testAction2'/>
   </task>
 
The task name must be unique across a test plan -- even if it resides in an included test plan
(see the Puffin User's Guide for more on including sub plans). 
 
The depends attribute represents a comma-delimited list of task names whose execution must be
successful for Puffin to execute this task. (OPTIONAL)
 
The repeat attribute tells Puffin how many times to execute this task in the test plan. The
default is one (1).
 
The test actions that make up a task represent unique test actions as configured in the puffin
configuration file. See testaction.py for more details on test actions.

 
Modules
            
puffinlogging
 
Classes
            
Task
 
class Task
      Each task in a test plan can be made up of one or more test actions. 
This class represents a single task in a test plan.
 
   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'
 
Data
             __author__ = 'Keyton Weissinger '
__date__ = '30 April 2002'
__file__ = '.\\task.pyc'
__name__ = 'task'
__status__ = 'beta'
__version__ = '0.8.8'
 
Author
             Keyton Weissinger <keyton@weissinger.org>