/// <summary>
 /// Add test to requirement coverage
 /// </summary>
 /// <param name="test">TDAPIOLELib.Test Object</param>
 /// <param name="req">TDAPIOLELib.Req Object</param>
 /// <returns>True if successfull</returns>
 public Boolean AddTestToRequirementsCoverage(TDAPIOLELib.Test test, TDAPIOLELib.Req req)
 {
     TDAPIOLELib.ICoverableReq coverable = req as TDAPIOLELib.ICoverableReq;
     coverable.AddTestToCoverage(test.ID);
     return(true);
 }
 /// <summary>
 /// Add a test plan folder to requiremnt coverage
 /// </summary>
 /// <param name="testFolderID"></param>
 /// <param name="req"></param>
 /// <returns></returns>
 public Boolean AddTestPlanFolderToRequirementsCoverage(int testFolderID, TDAPIOLELib.Req req)
 {
     TDAPIOLELib.ICoverableReq coverable = req as TDAPIOLELib.ICoverableReq;
     coverable.AddSubjectToCoverage(testFolderID, "");
     return(true);
 }
Example #3
0
 /// <summary>
 /// Assign requirement to the test case
 /// <para/> returns true if successfull
 /// </summary>
 /// <param name="test"></param>
 /// <param name="requirement"></param>
 /// <returns>true if successfull</returns>
 public Boolean AssignRequirement(TDAPIOLELib.Test test, TDAPIOLELib.Req requirement)
 {
     TDAPIOLELib.ICoverableReq OICoverable = requirement as TDAPIOLELib.ICoverableReq;
     OICoverable.AddTestToCoverage(test.ID);
     return(true);
 }