Class TestSuite


  • public class TestSuite
    extends Object
    Represents a unit test suite. Contains testcases, maintains some statistics. Reports testcase details in sonar-conform XML
    • 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
    • Method Detail

      • getKey

        public String getKey()
      • addTestCase

        public void addTestCase​(TestCase tc)
      • getDetails

        public String getDetails()
        Returns execution details as sonar-conform XML