Guidewire Testing Framework

Simplify testing and enable Behavior-Driven Development (BDD) on the Guidewire Cloud Platform.

Automated Testing

The Guidewire Testing Framework simplifies testing and enables behavior-driven development (BDD), helping teams complete updates and releases faster. The framework is built on widely used, open-source frameworks and tools that teams using BDD will be familiar with, and those who don’t yet use BDD can easily learn. The Guidewire Testing Framework includes UI Testing and API Testing.

  • API Testing enables end-to-end testing for Guidewire APIs
  • UI Testing enables end-to-end user interface testing for Guidewire applications

Available since

Guidewire Cortina Badge

Get Started with the Guidewire Testing Framework

API Testing

API Testing enables you to design and execute end-to-end tests on Guidewire Cloud applications within a BDD environment. API Testing can sequence API calls in scenarios that cover and test entire business processes from end to end.

Available features:

  • Build test scenarios in Karate, and compose scenarios to create end-to-end tests
  • Bind Cucumber expressions to Karate scenarios without writing separate step definitions or “glue code”
  • Behavior test cases
  • Test data management

What you will need:

  • Current version of Chrome or Firefox browser.
  • JavaScript editor. IntelliJ IDEA version 2019.3 is recommended. However, other popular JavaScript editors, such as Atom, Visual Studio Code, and Sublime Text can be used. If you use IntelliJ Idea, an Ultimate license is required if you want support for features such as NPM, JavaScript syntax highlighting, error checking, and code analysis.
  • Node.js, version 12.14.1 or higher.
  • Amazon Corretto 11 JDK, if you intend to use test data management

To continue, access the documentation for API Testing, which covers:

  • Setting up your environment
  • Developing end-to-end scenarios
  • Test data management
  • Xray integration with Jira
  • Best practices

UI Testing

UI Testing is a test automation framework that you can use to create end-to-end user interface tests of Guidewire applications.

Available features:

  • Cucumber-based behavior tests
  • TestCafe style (non-behavior) tests
  • Ignite, a tool to automatically generate page objects
  • Scenario library for common tasks
  • Test data management to generate both transactional and administrative test data needed when running automated tests

What you will need:

  • JetBrains IntelliJ IDEA, either the free, open-source Community edition or the Ultimate edition. Recommended version is 2019.3.4, either Ultimate or Community edition.
  • Java Development Kit (JDK) version 11, the same development platform on which all Guidewire products are built. Recommended version is Amazon Corretto version 11.0.5.
  • Gradle Build Tool, an open source build automation system.
  • Karate, a framework for testing REST APIs and the underlying functionality they expose.
  • Cucumber for Java, an open source software tool that supports BDD. Recommended version is bundled with IntelliJ IDEA Ultimate edition. Community edition users can download Cucumber for Java version 193.6494.1.
  • Gherkin, an ordinary language parser that is integral to Karate-based GT: API and Cucumber, enabling you to specify testing scenarios in simple language that humans can understand. Recommended version is bundled with IntelliJ IDEA Ultimate Cucumber for Java plugin. Community edition users can download Gherkin 193.6911.14.

To continue, access the UI Testing documentation, which covers:

  • Setting up your environment
  • Organizing projects
  • Understanding the Guidewire user interface
  • Writing and executing tests
  • Test data management
  • And best practices…

Enable Behavior-Driven Development

Behavior-Driven Development is a software development approach where the focus is placed on describing user behavior and verifying that the software produces the expected results from that behavior. Ideally, you write these descriptions of behavior as tests that verify the behavior before the software is developed. Initially, the tests will fail because the functionality has not yet been implemented. As functionality is developed, the tests will pass. This ensures that the software supports the desired behaviors.

BDD simplifies collaboration between business and technical teams. A fundamental belief is that software development is more effective and more efficient when all stakeholders discuss requirements using a common language:

Proudly Built with These Open Frameworks
  • Analysts contribute by analyzing their business and communicating the business behavior expected from the application
  • Software developers and QA developers contribute by clarifying the technical implementation of the user behavior and implementing the step definitions

In BDD, software behaviors are written as a set of scenarios using a ubiquitous language that is easily understood by both technical and non-technical members of the team. Each scenario describes user behavior and its impact on the state of the system. GT: Framework includes the tooling to enable test scenarios to be written for applications that run on or interact with Guidewire Cloud Platform, and the ability to execute those test scenarios throughout your SDLC. To help teams implement BDD, Guidewire publishes standards and white papers that outline how to practice BDD with Guidewire as part of either new implementation projects, updates, or adding new capabilities and functionality to your Guidewire environments.

Training Courses for Guidewire Testing

Guidewire Testing Framework Overview

This course is for anyone involved in a Guidewire implementation. This course provides the learner with a brief background on BDD, followed by an overview of the GT: Framework.

By completing this course, learners gain an awareness of the components, functionality, and benefits of the GT: Framework, preparing them to participate in testing activities on Guidewire Cloud implementations.

Guidewire Testing Framework Basics

This course is for technical staff including developers and QA automation engineers interested in learning the Guidewire Testing Framework.

Guidewire Testing Framework Basics provides an essential understanding of the Guidewire Testing Framework and its components, as well as practical guidelines for using the tools provided.

Behavior-Driven Development at Guidewire

This self-paced course helps you get started with Guidewire’s Behavior-Driven Development (BDD) methodology.

By completing this course, learners will be ready to use BDD and participate in Guidewire Cloud InsuranceSuite and Digital implementations.

Related Info

This standard describes how behavior-driven development (BDD) must be practiced on Guidewire implementation projects.
Get updates for Guidewire developers delivered right to your inbox.
Behavior-driven development (BDD) is an agile software development methodology that is built around collaboration and communication among key stakeholders.

Don’t see what you are looking for?