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

mvn test with tags not working #387

Closed
charlesivie opened this issue Sep 3, 2012 · 4 comments
Closed

mvn test with tags not working #387

charlesivie opened this issue Sep 3, 2012 · 4 comments

Comments

@charlesivie
Copy link

mvn clean test -DtagArg="@mytag" doesn't appear to work, just ignores the tag definition and runs all scenarios.

I can set a tag in @Cucumber.Options(tags = { "@wip" }, format = "pretty") no problem, would would like to use the mvn command for ci.

@adzynia
Copy link

adzynia commented Sep 8, 2012

There is discussion here how to run mvn with tags https://groups.google.com/forum/?fromgroups=#!topic/cukes/1DSrCLkhXZo

@charlesivie
Copy link
Author

Thanks, I did see that, for now I am using a work around by having a second
unit test using the cucumber runner, and specifying the tag in that
annotation, seems a lot neater than a messy maven run config like that.
I am a senior developer at BBC and really promoted cucumber-jvm as our bdd
solution for a major new project :-)
I really like having a jvm cucumber solution because it fits with BBC's
take up of Scala/groovy/closure, but bugs like that are a bit embarrassing
when I am championing the product to my peers. If the mvn test
-Dtags=@mytag functionality isn't going to be fixed soon, it would be good
if you omitted it from you git homepage, as its the only kind of official
documentation you guys have so far.
Anyway, great product and I am looking forward to future releases. If you
are interested in what we are doing with it let me know.
Charles.
On Sep 8, 2012 8:42 PM, "d3unka" notifications@github.com wrote:

There is discussion here how to run mvn with tags
https://groups.google.com/forum/?fromgroups=#!topic/cukes/1DSrCLkhXZo


Reply to this email directly or view it on GitHubhttps://github.com//issues/387#issuecomment-8397123.

@aslakhellesoy
Copy link
Contributor

Closing this since it's fixed on master, using the cucumber.options system variable.

@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants