Support of Cucumber projects having a pom.xml file not at the repository root

Some users want to be use a monorepo: all Cucumber projects would be in a single Git repo, one project per folder.

But currently, the Orchestrator does not support this configuration:

  1. The test reference is formatted as

[1] / [2] # [3] # [4]

With:

[1]: Name of the project on the source code repository.
[2]: Path and name of the Cucumber test file, from the root of the project (with the .feature extension).
[3]: feature name as specified in the Cucumber test file. This parameter is optional.
[4]: scenario name as specified in the Cucumber test file. This parameter is optional.

[1] is used to define the location of the POM file
[2] is used to define the location of the feature file
... so there is no way to use this syntax to define a complete path (containing /) in [1], the POM must be at the root of the repository

Proposal: We propose an alternative syntax (and we depreciate the current one, but we still support it):

[1] # [2] # [3] # [4]

With:

[1]: Full path the project in the source code repository.
[2]: Path and name of the Cucumber test file, from the root of the project (with the .feature extension).
[3]: feature name as specified in the Cucumber test file. This parameter is optional.
[4]: scenario name as specified in the Cucumber test file. This parameter is optional.

  1. We need to modify the Cucumber provider to support this new syntax.

To see also : java-plugins#34 (closed)

Edited by Jean-Marc BELORGANE