cucumber / godog

Cucumber for golang
MIT License
2.32k stars 254 forks source link

Add Option to Run Features in Subtests #638

Closed joeljr closed 4 months ago

joeljr commented 4 months ago

🤔 What's changed?

Add Option to run features in separate subtests.

⚡️ What's your motivation?

Usually, scenarios are grouped logically in feature files. Adding this options helps test report readability when running multiple feature files each containing multiple scenarios.

🏷️ What kind of change is this?

♻️ Anything particular you want feedback on?

Comparing the test results from the added unit tests versus the one running all scenarios.

📋 Checklist:

joeljr commented 4 months ago

Doesn't work with concurrency.