Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run multi scenarios at the same time #70

Open
dnzguzel opened this issue Apr 8, 2021 · 4 comments
Open

Run multi scenarios at the same time #70

dnzguzel opened this issue Apr 8, 2021 · 4 comments

Comments

@dnzguzel
Copy link

dnzguzel commented Apr 8, 2021

Hello,

I want to run multiple scenarios at the same time. But gauge-maven-plugin supports only one scenario with -Dscenario parameter. How to resolve this case? For example I can not use mvn gauge:execute -Dscenario=scenario1,scenario2

@zabil
Copy link
Contributor

zabil commented Apr 8, 2021

It's not supported at the moment. There's discussion about it here getgauge/gauge#1012 (comment)

@dnzguzel
Copy link
Author

dnzguzel commented Apr 8, 2021

I know this but this time it doesn't see the external libraries used. Thats why I want to use gauge-maven-plugin.

@zabil
Copy link
Contributor

zabil commented Apr 8, 2021

Unfortunately there's no workaround currently for the maven plugin.

This is because of how Maven handles parameters and how Gauge parses these parameters. An alternate approach needs to be implemented, maybe using an environment variable.

@haroon-sheikh
Copy link
Contributor

@dnzguzel Just out of curiosity, can you not tag the scenaios and run it with mvn gauge:execute -Dtags="mytag"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants