Bamboo™ is a Continuous Integration server by Atlassian™. Continuous Integration is a development practice where software developers integrate their work frequently. Each integration is then verified by an automated build to detect errors as quickly as possible.
LiquidTest™ is an agile Web Application Testing tool with an integrated Record and Replay engine powered by Firefox™ and Internet Explorer™. LiquidTest supports industry standard languages (Java™, C#, Visual Basic .NET and Groovy) and integrates with IDE's and Continuous Integration servers.
This document will walk you through downloading and configuring Bamboo and LiquidTest so that Bamboo will execute a LiquidTest build and verify the results of recorded test cases automatically.
Bamboo is available for Windows/OSX/*nix, and can be downloaded from Atlassian's website: http://www.atlassian.com/software/bamboo/BambooDownloadCenter.jspa
I have cut out the setup of a Linux box or Subversion repository, so the following assumes you already have a working Subversion repository containing an example LiquidTest Project (Use the Hudson setup blog post as a starter guide available here)
Get latest stable version of bamboo, as of this writing it's 2.5.1
Extract the distribution files
tar zxf atlassian-bamboo-2.5.1-standalone.tar.gz
Edit the bamboo-init.properties file and set the bamboo.home variable to be /opt/Bamboo
sudo nano webapp/WEB-INF/classes/bamboo-init.properties
Now launch the server via the shell script:
sudo ./bamboo.sh start
Now you can browse to http:<bamboo server ip>:8085/ (if you need to discover the IP, just type ifconfig)
You should be prompted for a license key:
Follow the “Contact Us” link which will take you to an Atlassian site to register for a trial key.
You will then be able to copy your trial key and paste it back into the Bamboo welcome screen.
Hit Express Installation…
You will be prompted to create an administration account;
Now we need to create a plan.
=== Create a new plan ===
Project Name: LiquidTestIntegrationExample
Project Key: LTIE
Build Plan Name: Default
Build Plan Key: DEF
=== Specify Source Repository ===
In the Repository type drop-down, select Subversion.
The URL should be http:<subversion server ip>/svn/LiquidTestProject/
Set the Build Strategy to “Polling for changes.”
Set the polling frequency to be 180 seconds.
Now we need to configure a builder.
Hit add new builder.
By default we won't have any version of ant installed, so we need to configure it with the version we installed earlier.
Now we have some ant properties we can set:-
Build File should be “build.xml”
Target should be “runtests”
Build JDK: Just use the default JDK it detects.
In “Where should Bamboo look for the test result files”
check “The build will produce test results”
with a pattern of: **/build/log/*.xml
Bamboo should now build the project and execute the tests.
Congratulations, you can now commit changes to the Subversion repository, and Bamboo will detect new revisions and automatically build and run your LiquidTest tests.
News / Events
Recently Added Content