Assume you have some set of steps you wanna share between your specflow scenarios.
Now it's as easy as just one step:
Given I execute the steps of 'My Feature'.'Some Scenario'
Given I execute background steps of Some Feature # for quote lovers: Given I execute background steps of 'Some Feature'
Given I execute the steps of: | feature | scenario | | Feature One | Shared Steps 1 | | Feature Two | Shared Steps 2 |
See more examples.
Parent Feature and Scenario Context is used by shared steps. Context values created by shared steps are available in parent scenario. Be careful with context key duplication.