throw new SkipException("\"Scenario: \\\"\" + scenario.getName() + \"\\\" is already passed in the previous test cycle\"");
I have my framework integrated with JIRA, wheneven I execute scripts, it will check with JIRA for the testcase status, then will it run. If it's already passed, right now I am handling it with
throw new SkipException("\"Scenario: \\\"\" + scenario.getName() + \"\\\" is already passed in the previous test cycle\"");But this fails the scenario in reports.Instead I want to show this scenario as PASS in the report. Any solution?Thanks
On 2 February 2018 at 13:18, Deena P <deena...@gmail.com> wrote:
> I have my framework integrated with JIRA, wheneven I execute scripts, it
> will check with JIRA for the testcase status, then will it run. If it's
> already passed, right now I am handling it with
>
> throw new SkipException("\"Scenario: \\\"\" + scenario.getName() + \"\\\" is
> already passed in the previous test cycle\"");
>
>
> But this fails the scenario in reports.
>
> Instead I want to show this scenario as PASS in the report. Any solution?
>
Before we suggest any solution to this, could you please share why you
don't want to run a scenario that has passed again? It did pass the
last time so there should not be any reason why it shouldn't pass
again. Unless a silly mistake has been done. The only cost is a bit
longer execution cycle. Why do you think this is a bad idea?
Please enlighten me. I am curios.
Thomas
> Thanks
>
> --
> 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+unsubscribe@googlegroups.com.
> 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
You received this message because you are subscribed to a topic in the Google Groups "Cukes" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cukes/FkM5YRBi_bU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cukes+unsubscribe@googlegroups.com.
> email to cukes+un...@googlegroups.com.
> 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
You received this message because you are subscribed to a topic in the Google Groups "Cukes" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cukes/FkM5YRBi_bU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Thanks,
Deena
--
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+un...@googlegroups.com.