GINT - Groovy Integration Test Framework
Gint Version 3 Is Here!
View this short presentation (1 minute) to learn more about it. Version 3 will be documented on a new web site and this current site will remain representing the documentation for versions prior to version 3. We will also be archiving the listing on the Atlassian Marketplace.
Gint Version 2 is Deprecated
- Atlassian Marketplace listing has been archived: See the archived site for downloads.
- Gint is not longer available from this website. The old Mercurial repository on Bitbucket Cloud was removed as part of Mercurial removal from Bibucket Cloud removal of Mercurial support.
Description
This add-on is a Groovy based integration test framework. Tests are Groovy scripts with testcase 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 Gant code. A declarative style simplifies many test scenarios and the full power of Groovy 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.
Key Attributes
The following summarizes the key attributes that are fundamental to GINT.
- 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.
- 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.
- Agile methodology - supporting the practices of Test Driven Development, Acceptance Testing, and Continuous Integration.
Features
- Feature - Atlassian Application Testing — an extension for testing add-ons for Atlassian products like JIRA, Confluence, Bamboo, Bitbucket, HipChat, and Crucible
- Feature - Automatic Comparisons — validating data produced matches expected results
- Feature - Automatic Retry Support — Support for automatic retry of failed testcases and conditional retries
- Feature - Command Generators — ease testcase definition and maintenance by defining testcase parameters used to generate commands
- Feature - Command Logging
- Feature - CSV Defined Testcases — testcase definitions can come from CSV files
- Feature - Database Defined Testcases — testcase definitions can come from database tables
- Feature - Database Output — for getting test results data directly into a reporting database
- Feature - GINT Properties — Automatic loading of properties from gint.properties found in standard locations
- Feature - Interactive Testing — Support for manual and semi-automated tests using instant messaging
- Feature - JUnit-style XML Output — for integrating test results with Continuous Integration (CI) tools
- Feature - Parallel — automatic running of testcases in parallel
- Feature - Profiles — automatic and more advanced than simple property files
- Feature - Reports — supports output logging, JUnit-style XML, mail, and IM reports
- Feature - Selenium Support — enables quick and maintainable Selenium testing
- Feature - Subsets — ability to control which testcases should be included in a specific run
Examples
- Most Features show usage examples
- GINT source code contains sample code, property files, and numerous GINT integration tests
- Projects Using GINT provides links to actual production tests
More Information
Free software | ||
Source repository: GINT |
Related Add-ons
|
Gallery
Continuous Integration with Bamboo
@Grab(group='org.swift.tools', module='gint', version='2.4.0') import org.swift.tools.* includeTool << Gint gint.initialize(this) // required gint.add(name: 'simple1', inline: { assert 1 == 1 }) gint.finalizeTest() // final preparations for running tests
gant -f simple.gant
= = = = = = simple started at Fri Feb 25 18:16:05 CST 2011 = = = = = = [start] simple1 [ending] simple1 [complete] simple1 - 0.017 secs [info] Successful testcases . . . . . . . . . . : 1 <<< TEST SUCCESSFUL [info] Total testcases . . . . . . . . . . . . . : 1 [info] Elapsed run time . . . . . . . . . . . . : 0.925 secs = = = = = = simple completed at Fri Feb 25 18:16:05 CST 2011 = = = = = =
© 2005 -2024 gint.org