Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make godog.Suite.RunSteps a public method #168

Closed

Conversation

ziprandom
Copy link

Make godog.Suite#runSteps public godog.Suite#RunSteps.

Reuse a already running Suite to run custom parsed gherkin steps against it.

closes #167

+ in order to reuse the Suite from steps
+ enable parsing of additional feature files in steps
+ work around limitations in multistep scenarios
@@ -383,7 +383,7 @@ func (s *Suite) matchStepText(text string) *StepDef {
return nil
}

func (s *Suite) runSteps(steps []*gherkin.Step) (err error) {
func (s *Suite) RunSteps(steps []*gherkin.Step) (err error) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about creating the public function which calls the internal one?
IMO you're missing the docs as well :)

@mxygem
Copy link
Member

mxygem commented Apr 30, 2021

@mxygem mxygem closed this Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make Suite.runSteps Method public
3 participants