Build

GT: FrameworkTest Automation for Guidewire

The GT: Framework test automation framework for Guidewire Cloud Platform simplifies testing and enables Behavior-Driven Development (BDD).

Meet

GT: Framework

The test automation framework for Guidewire Cloud Platform.

Available With

Guidewire Cortina Badge

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

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

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.

Related Info

Standard
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.
Whitepaper
Behavior-driven development (BDD) is an agile software development methodology that is built around collaboration and communication among key stakeholders.
Learn

How to Get Started with GT: Framework

Stop testing. Start building executable requirements.
GT: Framework - Guidewire Testing

GT: UI

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

GT: UI 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

GT: API

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

GT: API 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

GT: UI

  • 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 GT: UI documentation, which covers:

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

What You Will Need

GT: API 

  • 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 documentation for GT: API, which covers:

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

Related Info

Standard
This standard describes how behavior-driven development (BDD) must be practiced on Guidewire implementation projects.
Cross-Platform Tool
Create beautiful and engaging digital apps that run on Guidewire - the world's most trusted P&C platform with Guidewire Jutro.
API
Easily connect applications with Guidewire using RESTful APIs. Or build completely headless experiences for Guidewire.

Explore

Expand Your Knowledge

Master Behavior-Driven Development on Guidewire.

If you’re interested in diving deep into BDD, Guidewire has three courses available with your Guidewire Education Master’s subscription.

Master’s: Behavior-Driven Development: 01 Overview

This lesson explains the basics of BDD.

After completing this course, you will be able to:

  • Describe BDD
  • Explain the value of BDD
  • List key elements of a successful BDD implementation
Master’s: Behavior-Driven Development: 02 Guidewire Implementations

This lesson explains how BDD is incorporated into Guidewire methodology.

After completing this course, you will be able to:

  • Explain how BDD is incorporated into Guidewire methodology
  • Describe the Guidewire approach to using BDD
  • Define the artifacts that are used in BDD
  • Explain how Example mapping is used to help facilitate BDD
Master’s: Behavior-Driven Development: 03 Writing Requirements

This lesson explains how to write behavior-driven acceptance criteria from business behavior requirements.

After completing this course, you will be able to:

  • Describe behavior-driven acceptance criteria
  • Identify key players contributing to behavior-driven acceptance criteria
  • Write behavior-driven acceptance criteria using example mapping
  • Write behavior-driven acceptance criteria in the “Given, When, Then” format

Related Info

Standard
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.
Whitepaper
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?