Bring-your-own testing
Bring-your-own testing is a framework that allows you to improve the code quality of your InsuranceSuite apps by integrating your existing testing investments into Guidewire Cloud Platform. Propagate the results of your self-managed tests and block artifacts from progressing through the pipeline on the basis of the configured criteria.
The entire process consists of the following elements:
-
CI/CD events webhook notifications
Configure webhook notifications for particular CI/CD events and use them to trigger your own internal testing setup.
-
Custom quality gates and verifications
Configure custom quality gates and propagate the results of your tests using quality gates verifications API.
You can use the two functionalities in the following combinations:
-
Only CI/CD events webhook notifications
Your internal testing solution will receive notifications about the CI/CD events.
-
Only custom quality gates
You can propagate the results of your internal tests to the Quality Gates app.
-
Both CI/CD event webhook notifications and custom quality gates
Notifications from the Quality Gates app will trigger your own tests and results of those tests will be propagated to the Quality Gates app as verifications for your custom quality gates.
CI/CD event webhook notifications
You can configure a callback to a given URL in response to the following CI/CD events in Guidewire Cloud:
BuildPromotedEvent
IsAppDeployedEvent
PullRequestOpenedEvent
PullRequestUpdatedEvent
RepositoryChangedEvent
CiBuildSuccessfulEvent
CiBuildFailedEvent
You can use these notifications to automatically trigger your own test pipelines.
For details, see CI/CD events for Quality Gates.
Custom gates in Bring-your-own testing
Configuring a custom quality gate gives you an option to block a commit from being merged or a build from being promoted if they don't meet the required criteria. By integrating the results of your own test pipelines with quality gates, you can take advantage of your existing static analyses, deployment tests, or other types of tests.
You can create custom quality gates using the Quality Gates app or the CI/CD Manager API.
For details, see Custom gates.
To set up verifications for your custom gates, use CI/CD Manager API.
- Guidewire doesn't provide any infrastructure or support for executing external tests.
- Guidewire doesn't provide an option to configure a direct connection to the Cloud resources such as Bitbucket or TeamCity.
- Quality gates are intended to be used with your existing test investments and the approved testing use cases.