Define default test suites
Use CI Management to define the default test suites for test frameworks. These parameters are passed to builds that you can run in TeamCity.
Access to this application is managed by Guidewire Hub. For details, see Access Cloud Platform apps and services.
To access CI Management from Guidewire Home:
-
Select a star system.
-
From
Apps, select CI Management or select it from your pinned apps.
To define the default test suites:
-
Select the Testing Framework for which you want to set the parameters.
You can select either gUnit Server Tests or gUnit Smoke Tests.
-
Select + Add to add a suite name. Provide the following:
-
Suite Name: the name of the test suite that you want to run.
Note:The name must be fully-qualified, namely it must include the Gosu class name and package where the suite resides. For example:
gw.suites.PCExampleSmokeSuite
. -
Application: InsuranceSuite application for which you want to run the test.
-
Additional information about the setup:
- pre-merge: Test suites will run on all branches apart from the master branch.
- post-merge: Test suites will run on the master branch.
-
-
Confirm with Add.
You can now go to TeamCity and verify the setup:
-
Go to TeamCity → {project} → {application} → {test_framework}.
-
Select ... to access the Run Custom Build dialog.
-
In Parameters tab, search for
post_merge_suite_names
andpre_merge_suite_names
.The default values are the test suite names you added in CI Management UI.