In the Guidewire System Health & Quality modules, the focus is on scaling automated testing using GUnit. When a developer has a large number of tests, running them individually is inefficient. To group tests logically and execute them as a batch—often as part of a CI/CD pipeline in TeamCity—Guidewire utilizes Test Suites.
To group multiple test classes into a single suite (Option E), they must share the same @Suite annotation. This annotation tells the GUnit runner that these classes are part of a specific collection, such as a " Smoke Test Suite " or a " Financials Logic Suite. " This allows for structured execution and reporting across the entire implementation.
Additionally, for tests to run together effectively and share a consistent environment, they typically must be based on the same GUnit base class (Option A). In Guidewire, base classes like GWTestBase or custom insurer-specific base classes provide the necessary " scaffolding " —such as database connection handling, bundle management, and authentication—required for the tests to run within the InsuranceSuite framework. Without a shared base class, individual tests might attempt to initialize the system in conflicting ways, leading to " flaky " tests or execution failures.
Options B and C are incorrect because the goal of a suite is to group different classes, and properties like TestResultsDir are usually handled by the build runner (TeamCity) rather than the individual test code. Option D is a specific assertion method and has no bearing on how tests are grouped or executed in parallel.
Submit