Play for concordion around two days, let me start what it could be in the end from user point view
Result so far
For test case part, I use the concordion + selenium webdriver, probably need Page Object as well, and configured with maven.
In the Jenkins CI server, after I installed concordion presenter plugin, it will provide the link to final report
I need some hack here to show the overview report, and it could looks below
Then click the related story, you will see more detail test case result.
Should be good enough, since automatic web testing should not cover all testing, and don’t forget selenium powerful feature is to for cross-browser and cross-operation testing, see http://code.google.com/p/selenium/wiki/ContinuousIntegrationSystem
jBehave vs. Concordion
Concordion is just one tool in BDD area, and also my colleague touched another one: jbehave which is also java based (http://jbehave.org/)
Let’s quickly give you some difference
JBehave
more stable tool with lots of mature needs features around it like excellent reports (http://jbehave.org/reference/examples/reports-3.1/) and maven, selenium webdriver with lots of working flow (http://jbehave.org/reference/stable/developing-stories.html)
Write spec in java codes and follow Given..When..Then BDD spec
Concordion
It is a young (could be good) tool, with less mature community, no overview reports compare to jbehave, it needs some hack script, which is my favorite.
It has good extension like snapshot/log. http://concordion.org/Extensions.html
Write spec inside html (no tool support yet) and fixture is written in java language
No follow “Given..When..Then” since author think it is useless to straight follow it, see http://concordion.org/Technique.html for explanation.
I didn’t look into ruby tool, it is more to dig into it.
Now we have lots of topics for next codekata
Summary
Though auto web testing is a old area, but how to run it efficiency is always challenge, and BDD is slightly new for us, and it needs time to used it, since it needs extra competence for testers, it may impacts the resource planning for line.
In previous blog, we have a running web application live system after CI, now it is the time to verify it. And in the open source industry, selenium is de-fact tool for it.
Selenium-IDE is actually firefox plugin to develop selenium test cases, if you download by non-firefox application, you could open it with firefox, which can install it inside.