Skip to end of metadata
Go to start of metadata

 

Related Plugins

Groovy Task for Bamboo

  • GINT task making it easier to run GINT tests in Bamboo

Description

GINT is a Groovy based integration test framework. Tests are Groovy/Gant scripts with testcase definitions. The framework is targeted at integration level testing of software supporting a command line interface (CLI) or accessible via groovy scripts. 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.

  1. 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.


Features

Examples

More Information

Continuous Integration with Bamboo

 

simple.gant
@GrabResolver(name='atlassian', root='https://maven.atlassian.com/content/groups/public/')
@Grab(group='org.swift.tools', module='gint', version='1.8.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
Run
gant -f simple.gant
Output
= = = = = =   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 = = = = = =
  • No labels