Ejemplo n.º 1
0
 def test_runSuite_withSubs(self):
     skelSuite = SysTestSuite("StgFEM", "RegressionTests",
         sysTests=[self.skelTest1, self.skelTest2])
     subSuite = SysTestSuite("StgFEM", "RegressionTests-sub")
     skelSuite.addSubSuite(subSuite)
     subSuite.sysTests.append(self.skelTest3)
     testResults = self.stRunner.runSuite(skelSuite,
         outputSummaryDir="output/testRunSuite_withSubs")
     self.assertEqual(len(testResults), 3)
     self.assertEqual(testResults[0].statusStr, CREDO_PASS.statusStr)
     self.assertEqual(testResults[1].statusStr, CREDO_FAIL.statusStr)
     self.assertEqual(testResults[2].statusStr, CREDO_ERROR.statusStr)
 def test_runSuite_withSubs(self):
     skelSuite = SysTestSuite("StgFEM", "RegressionTests", 
         sysTests=[self.skelTest1, self.skelTest2])
     subSuite = SysTestSuite("StgFEM", "RegressionTests-sub")
     skelSuite.addSubSuite(subSuite)
     subSuite.sysTests.append(self.skelTest3)
     testResults = self.stRunner.runSuite(skelSuite,
         outputSummaryDir="output/testRunSuite_withSubs")
     self.assertEqual(len(testResults), 3)
     self.assertEqual(testResults[0].statusStr, CREDO_PASS.statusStr)
     self.assertEqual(testResults[1].statusStr, CREDO_FAIL.statusStr)
     self.assertEqual(testResults[2].statusStr, CREDO_ERROR.statusStr)
Ejemplo n.º 3
0
 def test_runSuites(self):
     suite1 = SysTestSuite("StgFEM", "RegressionTests",
         sysTests=[self.skelTest1, self.skelTest2])
     subSuite = SysTestSuite("StgFEM", "RegressionTests-sub")
     suite1.addSubSuite(subSuite)
     subSuite.sysTests.append(self.skelTest3)
     suite2 = SysTestSuite("StgFEM", "PerformanceTests",
         sysTests=[self.skelTest4])
     suite3 = SysTestSuite("PICellerator", "RegressionTests",
         sysTests=[self.skelTest2, self.skelTest4])
     testResults = self.stRunner.runSuites([suite1, suite2, suite3],
         outputSummaryDir="output/testRunSuites")
 def test_runSuites(self):
     suite1 = SysTestSuite("StgFEM", "RegressionTests", 
         sysTests=[self.skelTest1, self.skelTest2])
     subSuite = SysTestSuite("StgFEM", "RegressionTests-sub")
     suite1.addSubSuite(subSuite)
     subSuite.sysTests.append(self.skelTest3)
     suite2 = SysTestSuite("StgFEM", "PerformanceTests",
         sysTests=[self.skelTest4])
     suite3 = SysTestSuite("PICellerator", "RegressionTests",
         sysTests=[self.skelTest2, self.skelTest4])
     testResults = self.stRunner.runSuites([suite1, suite2, suite3],
         outputSummaryDir="output/testRunSuites")