erikedin / Behavior.jl

Tool for Behavior Driven Development in Julia
Other
25 stars 3 forks source link

Odd formatting of output statistics #114

Open hakanai opened 1 year ago

hakanai commented 1 year ago

For the tutorial's example...

Feature: Making Coffee
  Scenario: Making a regular coffee
    Given a machine filled with coffee beans
     When a user makes a cup of coffee
     Then the cup contains coffee

                          | Success | Failure
  | 1       | 0      fee

What that table was supposed to look like:

                         | Success | Failure
  Feature: Making Coffee | 1       | 0

So that leftover "fee" is the end of the feature name for that row, and the only thing that's odd is that for some reason, it's going back to the start of the line to write the other columns, instead of going to the appropriate column.

I added a second feature file as an experiment, and now I get:

                               | Success | Failure
       | 1       | 0
  | 0       | 1       Feature

Further investigation:

Versions in play: