Package org.sonar.plugins.python.xunit
Class TestSuite
- java.lang.Object
-
- org.sonar.plugins.python.xunit.TestSuite
-
public class TestSuite extends Object
Represents a unit test suite. Contains testcases, maintains some statistics. Reports testcase details in sonar-conform XML
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTestCase(TestCase tc)StringgetDetails()Returns execution details as sonar-conform XMLStringgetKey()List<TestCase>getTestCases()
-
-
-
Constructor Detail
-
TestSuite
public TestSuite(String key)
Creates a testsuite instance uniquely identified by the given key- Parameters:
key- The key to construct a testsuite for
-
-