erikedin / Behavior.jl

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

Empty scenarios probably cause some problems #64

Closed erikedin closed 3 years ago

erikedin commented 3 years ago

A few empty scenarios like these

Scenario: This is OK
    Given some precondition

Scenario: Foo

Scenario: Bar

Scenario: Baz

probably don't work perfectly. Figure out where it fails and fix it.

erikedin commented 3 years ago

I found an example in the Grakn behaviour repo, entity.feature, that has three empty scenarios at the bottom. I used the suggestion feature to get step implementations, that all fail unconditionally. However, the entity.feature file had one scenario listed as successful. That shouldn't be the case as the Background ought to fail. I suspect these empty scenarios, but I'm not sure.

erikedin commented 3 years ago

The empty scenario thing is fixed, and a separate issue with Background results will be made.