You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:The text was updated successfully, but these errors were encountered: