Skip to content

cucumber.properties missing support for threads value #2833

Open
@boaty82

Description

@boaty82

io.cucumber.core.options.CucumberPropertiesParser pulls in many of the required arguments from various sources e.g. a properties file, environment or system properties

However, it appears to not be looking for number of threads to use (--threads via CLI) - was this intentional?

👓 What did you see?

Having setup multiple scenarios, and having added cucumber.execution.threads=2 to properties file I expected tests to run in parallel

✅ What did you expect to see?

cucumber.execution.threads should be parsed and utilised

📦 Which tool/library version are you using?

cucumber-core 7.14.1

🔬 How could we reproduce it?

Create multiple scenarios
Create cucumber.properties with the normal required values (e.g. glue, features and plugin)
Ensure within the properties file you add cucumber.exeution.threads=2
Run cucumber

You will see all tests are executed synchronously and the timeline report also confirms this

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions