Running selenium test cases after every commit into repository

How should i configure Bamboo to run test selenium test cases after every change made to the SVN repository??

2 answers

1 accepted

I would configure the plan to poll the repository, however you do not necessarily want to run all your tests for every commit. In many cases you want to poll your repository for changes, but have a delay or quiet period - which I believe is a setting in the SCM tab in most newer versions of Bamboo.

If you're building a Java app, you can write your Selenium tests as JUnit tests. Bamboo can then execute them normally as JUnit tests and graph the results just like JUnit tests.

Thanks Adam... As you said i can run my selenium test cases as Junit tests. I would like to know if there are any documents that will help me set up Bamboo with my Junit test cases. Currently all my JUnit test cases are checked-in into a SVN repository. I am evaluating Bamboo for my organisation.

If you are using Junit via Ant targets, see http://confluence.atlassian.com/display/BAMBOO/Ant

... specifically section 6.

Additionally, see Parsing JUnit Tests in Bamboo : http://confluence.atlassian.com/display/BAMBOO/JUnit+parsing+in+Bamboo

Thanks again... I am reading through the link that you have provided. what do you think is the main difference between Bamboo and Hudson or even Jenkins.

Joseph Clark Atlassian Team Feb 16, 2012

Hey Rajul - That's an interesting question - you should ask it as a new question though, so it is searchable and will allow other users to find the answers, and avoids cluttering up this question.

I have added it as a new question. I would also like to know how i should configure bamboo to run a test suite.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,572 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you