Discussion:
[Cucumber] how to pass particular cucumber runner class name from command line
(too old to reply)
80Vikram
2017-11-07 20:25:49 UTC
Permalink
Raw Message
Hi All,

I need to pass cucumber runner class name along with maven command, how to
do this ?

I searched but found posts for feature file, tags etc but not for passing
runner file.

Thanks in advance.

Regards,
Vikram
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thomas Sundberg
2017-11-07 21:08:40 UTC
Permalink
Raw Message
Hi!

If you are using Maven, then you can execute just one test. That is,
you can have multiple runner classes and execute just one of them.
More details here:
http://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html

HTH
Thomas
Post by 80Vikram
Hi All,
I need to pass cucumber runner class name along with maven command, how to
do this ?
I searched but found posts for feature file, tags etc but not for passing
runner file.
Thanks in advance.
Regards,
Vikram
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Thomas Sundberg
M. Sc. in Computer Science

Mobile: +46 70 767 33 15
Blog: http://www.thinkcode.se/blog
Twitter: @thomassundberg

Better software through faster feedback
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
80Vikram
2017-11-08 19:35:28 UTC
Permalink
Raw Message
Hi Thomas,

Thanks for info; it worked perfectly.

Regards,
Vikram
Post by Thomas Sundberg
Hi!
If you are using Maven, then you can execute just one test. That is,
you can have multiple runner classes and execute just one of them.
http://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html
HTH
Thomas
Post by 80Vikram
Hi All,
I need to pass cucumber runner class name along with maven command, how
to
Post by 80Vikram
do this ?
I searched but found posts for feature file, tags etc but not for
passing
Post by 80Vikram
runner file.
Thanks in advance.
Regards,
Vikram
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google
Groups
Post by 80Vikram
"Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by 80Vikram
For more options, visit https://groups.google.com/d/optout.
--
Thomas Sundberg
M. Sc. in Computer Science
Mobile: +46 70 767 33 15
Blog: http://www.thinkcode.se/blog
Better software through faster feedback
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...