| 1) Usually everybody run cucumber from native ....
you do not need to grab test results if you use this plugin, you just run it as is, and have builder step failed or pass whether your cucumber tests are ok or not.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/a0b01d0f-e91b-4516-abfb-c32a6cfec4ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi all,
The plugin does not run cucumber but a specific (ruby) implementation.
Therefore if this plugin was to be forked I would prefer that either
1) it would in future accept pull request to run other cucumber implementations
or
2) it would be remanbed to cucumber-ruby-builder-plugin (or something more specific).
Also I believe the name cucumber-plugin is too generic - there are already other cucumber plugins out there - this is specifically a cucumber builder.
I also think it seems to be specific to the OPs need - in that it assumes the use of a browser (chrome/firefox) and a display - neither of which are required for running cucumber (jvm at least) and assumes running on Linux, requires the use of profiles (I believe if you don;t have a cucumber profile file then cucumber will barf when trying to load it) etc.
| 1) Usually everybody run cucumber from native ....
you do not need to grab test results if you use this plugin, you just run it as is, and have builder step failed or pass whether your cucumber tests are ok or not.
Cucumber will (should?!?) return an exit code to say if it passed or failed - so you don't have to parse the json output etc to know if some tests failed.
However what is the point in knowing some tests failed if you don't know what failed?
If you just want to ignore test failures then on linux/unix you can do this from native just run "set +e" if your bash script before invoking the native tool. (or use 'command || echo "test failed" ' syntax).
it would in future accept pull request to run other cucumber implementations
it would in future accept pull request to run other cucumber implementations
you are welcome! or course ...
On 19/12/2014 11:52, melezhik wrote:
it would in future accept pull request to run other cucumber implementations
you are welcome! or course ...
I fall into the same crowd as Kanstantin - in that I use the native launcher.
Not quite true - I bundle the native launcher (cucumber-jvm) and all my code into a single executable jar - then use "java -jar myTests.jar <insert cucumber args here>").
/James
пятница, 19 декабря 2014 г., 15:14:49 UTC+3 пользователь James Nord написал:
On 19/12/2014 11:52, melezhik wrote:
it would in future accept pull request to run other cucumber implementations
you are welcome! or course ...
I fall into the same crowd as Kanstantin - in that I use the native launcher.
what do you mean? what crowd?
"Usually everybody run cucumber from native packagers/tools and then just grab test results in i.e. https://wiki.jenkins-ci.org/display/JENKINS/Cucumber+Test+Result+Plugin"
Not quite true - I bundle the native launcher (cucumber-jvm) and all my code into a single executable jar - then use "java -jar myTests.jar <insert cucumber args here>").
So , you use cucumber-jvm and run "java -jar myTests.jar" through jenkins? Did I get you right?