-
-
Couldn't load subscription status.
- Fork 683
Closed
Labels
Description
I find myself writing a lot of Context()s with a description in the form "when ", ... It(). Enough so that I'm wondering if it'd be worth adding a When() to the DSL, something along the lines of:
return Context("when " + description, ...)
}```
That way if you write:
```When("something happens", func() {
...
})```
you'd get a "when" in the text output as well.
krishicks, selzoc and alanfran