Skip to content

[Cucumber] Tags name can't contains all kind of special character

Cucumber uses Squash TM dataset name to provide the mvn command line .

Squash TM:

image

Orchestrator:

image

But special characters make the command line crash when executed because --tags can't contain all kinds of character.

We need to restrict it to : A a - _ 1

For example:

Good pattern

  • Dataset name : Test_
  • Command line : --tags @Test_
  • logs : no special log, execution succeed

Bad pattern

  • Dataset name: Test]@^`|[
  • Command line: --tags @test]@^`|[
  • Logs:(Example of logs message) This tags can't be run because tags name can only contains A a - _ 1
Edited by Adrian ANDRE