gobdd icon indicating copy to clipboard operation
gobdd copied to clipboard

Change the context.Context to an interface

Open bkielbasa opened this issue 5 years ago • 0 comments

Is your feature request related to a problem? Please describe.

While mocking etc having interfaces can make life easier. Another argument behind this is that there's a general rule that we should accept interfaces (in test code too) and return structs.

The change would help to introduce the support for custom feature contexts https://github.com/go-bdd/gobdd/issues/52

bkielbasa avatar Mar 15 '20 10:03 bkielbasa