Please note: This blog post refers to an earlier version of Cucumber Pro, and describes features that are not part of the current version. Please refer to the current documentation for up-to-date information about Cucumber Pro's features, and how to join our early-access programme.
The post is left here as a historical record. For a trip down memory lane, read on.
Cucumber Pro opened the door ajar for a select few founder customers a little over a month ago. Let's take a look at what we have so far:
GitHub, Bitbucket and Subversion
Cucumber Pro lets you open and save executable specifications from GitHub.com, Bitbucket.org or Subversion repositories available on the Internet.
Adding a repository is easy - just paste the URL to your repository.
Type with others
Cucumber Pro has a simple text editor where you and other team members can edit executable specifications simultaneously from different computers or tablets.
This lets business analysts, testers and programmers collaborate and form a shared understanding of how the software should behave.
As the number of executable specifications grow, teams build a library of step definitions that can be reused.
However, remembering the exact wording of step definitions is hard. This is why Cucumber Pro suggests them for you as you type.
In order to enable autocomplete you must tell Cucumber to generate a
.cucumber/.stepdefs.json file in the root of your repository.
cucumber --dotcucumber .cucumber
Using the JUnit Runner:
@CucumberOptions(dotcucumber = ".cucumber")
Using the Command Line Runner:
java cucumber.api.cli.Main --dotcucumber .cucumber
Cucumber Pro automatically stores every keystroke so you don't lose your changes, but it doesn't automatically save files to your source control system.
To remind you about edited files that need to be saved, Cucumber Pro displays these "dirty" files as red.
When you save the file the red goes away and your file ends up in your source control.
Many teams like to use feature branches when working on new features, and Cucumber Pro lets you choose what branch you want to work on simply by selecting the branch from a select box.
You can use over 40 different languages with Cucumber Pro. Want Chinese?
# language: zh-CN
Ou plutôt le Français?
# language: fr
Afin de financer mon bonus avec l'argent des pigeons
En tant que trader
Je souhaite pouvoir additionner 2 chiffres
Plan du Scénario: Addition de produits dérivés
Soit une calculatrice
Etant donné qu'on tape <a>
Et qu'on tape <b>
Lorsqu'on tape additionner
Alors le résultat doit être <somme>
| a | b | somme |
| 2 | 2 | 4 |
| 2 | 3 | 5 |
Our main focus during the beta period is to polish the collaboration and source control features.
The next major functionality we'll be working on is results and reports. Cucumber Features are executable, so wouldn't it be nice to see the results of executed features?
You'll soon be able to publish results and screenshots from Cucumber to Cucumber Pro, and share reports with everyone on your team.
Update 14th Jan 2014
Corrected path to
stepdefs.json file used for autocomplete thanks to comments from Joseph Salyer.