How to make a test suite
A test suite combines several unit tests or execution test cases into one suite. The class inherits from EDTestSuite and should implement a process method that adds in the test cases. Here's an example:
def process( self ): """ """ self.addTestCaseFromName( "EDTestCasePluginUnitMOSFLMv10" ) self.addTestCaseFromName( "EDTestCasePluginUnitMOSFLMIndexingv10" ) self.addTestCaseFromName( "EDTestCasePluginUnitMOSFLMIntegrationv10" ) self.addTestCaseFromName( "EDTestCasePluginUnitMOSFLMGeneratePredictionv10" )
In addition, the file should contain a "main" section like e.g.:
if __name__ == '__main__': # JIT compiler accelerator EDCompiler.accelerator() edTestSuitePluginUnitMOSFLMv10 = EDTestSuitePluginUnitMOSFLMv10( "EDTestSuitePluginUnitMOSFLMv10" ) edTestSuitePluginUnitMOSFLMv10.execute()