Gradle Integration Test and Automation Framework

This is the new site for Gint Version 3. Gint is now available from the Gradle Plugin repository (see below). We are still working on migrating over all the documentation from the original Gint site.

View this short presentation (1 minute) to learn more about it. 

Description

This is a Gradle plugin based integration test and automation framework. Tests and other automations are Gradle scripts with testcases being task definitions. The framework is targeted at integration level testing of software supporting a command line interface (CLI), accessible via groovy scripts, or Selenium. The framework can also be used for unit and integration testing of Java, Groovy, and Gradle code. DevOps and other automations also can take advantage of the same features. A declarative style simplifies many automation and test scenarios and the full power of Groovy and Gradle scripting makes more complex test scenarios possible as well. Parallel execution of testcases significantly reduces run time, enabling more frequent use and more timely feedback for continuous integration (CI) environments. 

Gradle is an automation framework even though the developers built it as a Software Build Tool. Many of the same concepts needed in build automation transfer to many other types of automation. Gint is really an extension of that capability. 

Key Attributes

The following summarizes the key attributes that are fundamental to GINT.

  1. Based on power scripting languages - Gradle and Groovy - powerful capabilities, concise syntax, easy adoption for Java programmers. Simple where that is sufficient. Fully extendable to cover more difficult and complex cases often encountered in integration level testing. 
  2. Integration testing - testing complete programs from the outside. Unit testing is not sufficient and unit test based tools and frameworks are overly complex and lack specific features for productive integration level testing.
  3. Agile methodology - supporting the practices of Test Driven Development, Acceptance Testing, and Continuous Integration.

Gradle Plugins

Simple Example

See gint-examples for more examples.

// A simple example showing accessing the gint plugin from the Gradle Plugin Registry in the easiest way.
// This runs a single named test
//
// ./gradlew -b simple.gradle

plugins { id "org.gint" version "3.2.0" }

gint.taskHelper.add(
    name: 'simple',
    inline: { 
        assert 1 == 1
    },
)

Gint Version 3

Gint Version 2


Recently Updated