cucumber-attic / cucumber-html

Cross platform HTML formatter for all implementations of Cucumber
Other
40 stars 49 forks source link

Scenario outlining with tagged Scenario tables missing in HTML reports #13

Closed jharmn closed 5 years ago

jharmn commented 12 years ago

{This was found using Cucumber-JVM, as originally filed in https://github.com/cucumber/cucumber-jvm/issues/238}

An example scenario outline is provided below. This all runs fine, but using the HTML formatter, the HTML lacks the @negative tagged Scenarios (see below) as an HTML table, although the individual scenario runs are there and green.

@get
Scenario Outline: Get a REST thing
    When I request "/rest/thing/<id>"
     Then I should see an HTTP Response code of <status>
     And I should see it validate against database for id <dbid>

   @positive
   Scenarios: Valid
   | name           | id  | dbid    | status    |
   | Thing #1              | 501 | 501      |  200      |
   @negative
   Scenarios: Invalid
   | name           | id  | dbid    | status    |
   | Non-existent            | 101 | 101        |  404      |          
mpkorstanje commented 5 years ago

cucumber-html has fallen into disuse and has been inlined into cucumber-jvm. If this issue is still relevant please direct it there.