# Cucable Maven plugin for parallel execution of Cucumber scenarios

DevFeed: [Cucable Maven plugin for parallel execution of Cucumber scenarios](<https://devfeed.tech/articles/cucable-maven-plugin-for-parallel-execution-of-cucumber-scenarios-28071.md>)

Original publisher: [Read original article](<https://tech.trivago.com/post/cucable-plugin/>)

Author: Benjamin Bischoff Test Automation Engineer; Author; Speaker; Magician Github Profile Linkedin Profile

Published: 2017-06-30T00:00:00Z

Content type: article

Language: en

Sources: [Trivago](<https://devfeed.tech/sources/trivago.md>)

Topics: [maven-plugin](<https://devfeed.tech/topics/maven-plugin.md>), [dynamic test splitting](<https://devfeed.tech/topics/dynamic-test-splitting.md>), [Cucumber](<https://devfeed.tech/topics/cucumber.md>), [Maven](<https://devfeed.tech/topics/maven.md>), [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>)

Tags: [frontend](<https://devfeed.tech/tags/frontend.md>), [maven](<https://devfeed.tech/tags/maven.md>), [maven-plugin](<https://devfeed.tech/tags/maven-plugin.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [quality-assurance](<https://devfeed.tech/tags/quality-assurance.md>), [split](<https://devfeed.tech/tags/split.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>)

## AI overview

Cucable splits Cucumber feature files into individual scenario features, expanding each scenario outline example into its own feature, and generates a runner for each from a template. Maven Failsafe can then run the generated tests in parallel using its forkCount option, while Maven Cucumber Reporting aggregates the JSON reports. The authors chose this approach after finding custom runners difficult to build, tag-based suites inflexible, and feature-level runs hard to maintain; they also found existing plugins unsuitable for their needs. They report reducing runtime from more than 45 minutes to about 10, with further gains dependent on Selenium Grid capacity and thread count.

## Source excerpt

Running Cucumber scenarios in parallel can be tricky, especially when a custom test runner is used. That's why we created Cucable - a Maven plugin to split test scenarios into smaller chunks that can be run at the same time.