rajdeepv / parallel_calabash

Helps running calabash ios/android tests in parallel
MIT License
40 stars 19 forks source link

-r command #18

Open mikevandre opened 8 years ago

mikevandre commented 8 years ago

Could you explain the -r command a little and give an example for that? I am having an issue now where my output report formats are defined in my cucumber YML and so when I run --group-by-scenario and it does the dry run its outputing a report in those formats. This throws off Teamcity. Is the -r command a workaround for this?

rajdeepv commented 8 years ago

Can you please give more info? Can you please paste the command and the cucumber.yml ?

On Sat, Jan 9, 2016 at 2:08 AM, mikevandre notifications@github.com wrote:

Could you explain the -r command a little and give an example for that? I am having an issue now where my output report formats are defined in my cucumber YML and so when I run --group-by-scenario and it does the dry run its outputing a report in those formats This throws off Teamcity Is the -r command a workaround for this?

— Reply to this email directly or view it on GitHub https://github.com/rajdeepv/parallel_calabash/issues/18.

mikevandre commented 8 years ago

I eneded up trying the -r command it and it did work. The problem I had was that the my cucumber.yml included --format junit -o teamcityresults.xml. This was so that Teamcity could parse the results of the tests. When the dry-run was run for the --group-by-scenarios, teamcityresults.xml was being generated and teamcity was parsing that incomplete file. I switched it to use -r 'junit -o teamcityresults.xml' and that fixed the problem. I saw in the code that this didnt get run during dry-run but did get run during actual testing which was what I needed.

On Mon, Jan 11, 2016 at 9:48 AM, Rajdeep notifications@github.com wrote:

Can you please give more info? Can you please paste the command and the cucumber.yml ?

On Sat, Jan 9, 2016 at 2:08 AM, mikevandre notifications@github.com wrote:

Could you explain the -r command a little and give an example for that? I am having an issue now where my output report formats are defined in my cucumber YML and so when I run --group-by-scenario and it does the dry run its outputing a report in those formats This throws off Teamcity Is the -r command a workaround for this?

— Reply to this email directly or view it on GitHub https://github.com/rajdeepv/parallel_calabash/issues/18.

— Reply to this email directly or view it on GitHub https://github.com/rajdeepv/parallel_calabash/issues/18#issuecomment-170575418 .

_Mike Vandre_Senior Software Engineer Mobile Computing Capability (MCC)M: 240-529-2895