Running Cucumber in Continuous Integration
Many teams set up their continuous integration[55] (CI) server to run Cucumber every time someone shares changes with the rest of the team. Since it’s a command-line tool, there is nothing fancy you need to do—just plop the cucumber command into the CI project’s configuration.
You may want to use slightly different command-line options for CI than you use on your own workstation. You can do this by defining a special profile for the CI build (for example ci).
Being Strict
It’s common to have missing or pending steps while we’re working on a new scenario. Some teams strive to keep the mainline (trunk) of the source repository pristine, without any pending or missing steps.
CI systems detect failure ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access