You are here: eggIntegration > Using eggPlant Functional from Bamboo

Using eggPlant Functional from Bamboo

You can use the Atlassian Bamboo continuous integration (CI) server to execute eggPlant Functional tests. Although this process is discussed as part of eggIntegration, you don't need to install any plug-ins to run eggPlant Functional with Bamboo.

Following is a simple guide for integrating eggPlant Functional with Bamboo. Note that this guide assumes you're already using Bamboo; for questions specific to Bamboo, you will need to refer to Atlassian's Bamboo Documentation.

Step by Step: Creating an eggPlant Functional Task in Bamboo

  1. In a Bamboo Plan, click Add Task, then select the Command task type.

    The Task type panel in Bamboo

    Select the Command task type in your Bamboo Plan

  2. Fill in the Task details with the path to the eggPlant Functional runscript command. Please see Running from the Command Line in the eggPlant Functional documentation for the appropriate command line arguments to use.

    The Tasks panel in Bamboo

    Fill in the Task details in Bamboo (Click image to view larger)

  3. The first time you create a Task to execute an eggPlant Functional script, you will create a new executable using the dialog box shown below:

    The Add new executable dialog box in Bamboo

    Enter the path to your runscript command to create a new executable in Bamboo

    The Path is the full path to the eggPlant Functional runscript command.

Viewing Results

eggPlant Functional's runscript command returns a simple binary pass or fail. Bamboo displays these as passed or failed builds, as shown in the image below:

Bamboo Results for eggPlant Functional tests

eggPlant Functional tests show as passed or failed builds in Bamboo (Click image to view larger)

You can save the eggPlant Functional results in a Bamboo folder location by specifying a command line argument for the results folder in the Bamboo Command. The path you use to specify the runscript command can include Bamboo variables. For example,

-GlobalResults ${bamboo.build.working.directory}\Results

For information on working with variables in Bamboo, see Bamboo variables in the Bamboo Documentation.

 

This topic was last updated on January 04, 2016, at 12:16:10 PM.

Copyright © 2016 TestPlant, Inc.