Continuous Integration for JavaScript using Bamboo

With the emergence of extremely interactive web sites and web apps, the JQuery library has become extremely popular for JavaScript event handling, animating, and Ajax interactions in rapid-development environments. The tight project timelines and rapid change for JQuery-based apps makes them great candidates for continuous integration.
I recently came across a discussion thread on continuous integration for Javascript with Bamboo which covers how how to set up continuous integration for your JQuery-based web apps in order to run unit tests written in QUnit, the unit testing framework included in the JQuery library.
The solution described in the discussion uses:

  • Atlassian Bamboo for continuous integration
  • QUnit for testing JQuery and any other client or server-side JavaScript
  • JSTestDriver to launch the tests and convert the output into JUnit-compliant XML

This is a great example of how Bamboo is able to run CI builds for applications written in any programming language. As long as you can start a build from the command line, and format test output in the industry-standard JUnit XML format, Bamboo let’s you easily set up continuous integration.
On top of running command-line based builds for any language, Bamboo supports builds with Ant, Maven, Maven2, make, nAnt, MSBuild and Devenv (Visual Studio) and Grails.
Any xUnit compliant testing tool can be used with your Bamboo builds, including JUnit, Selenium, PHPUnit, TestNG, NUnit, PyUnit, PMD.
Check out the discussion“Running JavaScript unit tests headlessly in a Continuous Integration build”

Published

in

Related Content

More in ‘

Warning: Undefined array key “link” in /srv/users/atlassian/apps/atlassianstaging/public/wp-content/plugins/curator/template-parts/cards/article-card.php on line 119
Company News
Announcing social enterprise discounts: Atlassian tools for social impact teams

Warning: Undefined array key “link” in /srv/users/atlassian/apps/atlassianstaging/public/wp-content/plugins/curator/template-parts/cards/article-card.php on line 119
Leadership
Great managers meet uncertainty with curiosity and confidence

Warning: Undefined array key “link” in /srv/users/atlassian/apps/atlassianstaging/public/wp-content/plugins/curator/template-parts/cards/article-card.php on line 119
Company News
Introducing Databricks Query Runner: Transforming data into insight

Warning: Undefined array key “link” in /srv/users/atlassian/apps/atlassianstaging/public/wp-content/plugins/curator/template-parts/cards/article-card.php on line 119
Company News
Team ’25 Europe: AI that’s changing the game for teams

More Collections


Warning: Undefined array key “link” in /srv/users/atlassian/apps/atlassianstaging/public/wp-content/plugins/curator/template-parts/cards/article-card.php on line 119

Meet Rovo everywhere: AI that connects every app, every team, every workflow


Warning: Undefined array key “link” in /srv/users/atlassian/apps/atlassianstaging/public/wp-content/plugins/curator/template-parts/cards/article-card.php on line 119

Introducing Atlassian Software Collection


Warning: Undefined array key “link” in /srv/users/atlassian/apps/atlassianstaging/public/wp-content/plugins/curator/template-parts/cards/article-card.php on line 119

Move Faster and Work Smarter with Atlassian’s AI-Powered Teamwork Collection