Home | Trees | Indices | Help |
---|
|
object --+ | SpiraModerator
Helper class to connect and manipulate the data in SpiraTest
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
client = None Soap client to connect to Spira Soap API |
|||
my_soap = None
|
|||
_tests = None Holds retrieved tests from Automation test set in Spiratest |
|||
_logger = None logger to send loggin information to. |
|||
_username =
|
|||
_password =
|
|
|||
Inherited from |
|
Constructor for class Args : _logger : (logger) instance of a logging object configured in testing project
|
Authenticates client with SpiraTest. Returns : (bool) if connection was successful |
Authenticates client with SpiraTest. Returns : (bool) if connection was successful |
Updates a specified test cases with a specified projects Automation test set with the results of the test execution Args : project_id : (int) Unique project id from within SpiraTest test_case_id : (int) Unique test case id from within SpiraTest test_start : (datetime) Time at which the test case started its execution. Doesn't seem to affect Spiratest. test_end : (datetime) Time at which the test case ended its execution. Doesn't seem to affect Spiratest. runner_msg : (str) Parameters that were used in test execution stack_trace : (str) Error message returned from failed test cases |
Gets the Unique prject id from spiratest for a given project name. Name comes from project's config file Args : proj_name : (str) Name of project under test Returns : (int) project id |
Fetches a list of test cases for a given test set id in SpiraTest and stores them in class var "tests" Args : test_set_id : (int) Automation test set id from Spiratest for project under test proj_id : (int) project id from Spiratest for project under test |
Gets the unique test case id from SpiraTest for the test case name supplied Args : testName : (str) Test case name found in SpiraTest and used in test case decorated to label automated test_support Returns : (int) test case id |
Gets the Test Steps for a Test Case Args : test_case_id : (int) Test Case ID from the SpiraTest Returns : (array) test steps including Test Description. Expected Results and Test Data |
Gets the Expected Result of the last Test Step for a test case Args : test_case_id : (int) Test Case ID from the SpiraTest Returns : (str) expected test step result in plain text |
|
_loggerlogger to send loggin information to. Logger comes from pytest test definitions
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Feb 03 14:49:45 2014 | http://epydoc.sourceforge.net |