Discussion:
[Cucumber] [JVM] - Regarding issues in generating HTML report after I run cucumber tests
(too old to reply)
Prashanth T.V
2013-05-10 05:48:58 UTC
Permalink
Raw Message
Hello Everyone,

This is regarding issues in generating HTML report after I run cucumber
tests

I have 2 tests in my eclipse project and when I ran these tests though
maven it gets executed successfully.
But, when I see my HTML report, it displays details of only one test case.

Also, the cucumber.json file which gets generated has details of only one
test case(though I ran 2 test cases), Can you please help me in this regard.

Please let me know if you require any other information.
I have attached the pom.xml which I have been using for your reference.

Regards
Prashanth
--
-- Rules --

1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.

You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cukes-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org To unsubscribe from this group, send email to cukes+***@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
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-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Senthil
2013-05-17 23:46:35 UTC
Permalink
Raw Message
You shouldn't have 2 test class class annotated with Cucumber runner. If
so, the second one overwrites first created report. Best practice is to
have only one test class, but can have multiple feature files and/or
multiple scenarios.


Senthil
Post by Prashanth T.V
Hello Everyone,
This is regarding issues in generating HTML report after I run cucumber
tests
I have 2 tests in my eclipse project and when I ran these tests though
maven it gets executed successfully.
But, when I see my HTML report, it displays details of only one test case.
Also, the cucumber.json file which gets generated has details of only one
test case(though I ran 2 test cases), Can you please help me in this regard.
Please let me know if you require any other information.
I have attached the pom.xml which I have been using for your reference.
Regards
Prashanth
--
-- Rules --

1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.

You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cukes-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org To unsubscribe from this group, send email to cukes+***@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
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-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Marit van Dijk
2017-10-22 18:00:20 UTC
Permalink
Raw Message
Report is overwritten only when both runners specify the exact same
filename. Can also be solved by specifying different filenames for reports.
See: https://github.com/cucumber/cucumber-jvm/issues/472
Post by Senthil
You shouldn't have 2 test class class annotated with Cucumber runner. If
so, the second one overwrites first created report. Best practice is to
have only one test class, but can have multiple feature files and/or
multiple scenarios.
Senthil
Post by Prashanth T.V
Hello Everyone,
This is regarding issues in generating HTML report after I run cucumber
tests
I have 2 tests in my eclipse project and when I ran these tests though
maven it gets executed successfully.
But, when I see my HTML report, it displays details of only one test case.
Also, the cucumber.json file which gets generated has details of only one
test case(though I ran 2 test cases), Can you please help me in this regard.
Please let me know if you require any other information.
I have attached the pom.xml which I have been using for your reference.
Regards
Prashanth
--
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...