Skip to content

Conversation

@clrudolphi
Copy link
Contributor

This PR replaces part of #121.

🤔 What's changed?

Modified the SnippetsService to generate asynchronous step bindings based upon the StepDefinitionSkeletonStyle setting in the reqnroll.json configuration file.

This PR does NOT include any UI modifications. The behavior is driven solely by the configuration file.

⚡️ What's your motivation?

To ease the developer transition to async step binding methods.

🏷️ What kind of change is this?

  • ⚡ New feature (non-breaking change which adds new behaviour)

♻️ Anything particular you want feedback on?

Anything?

📋 Checklist:

  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "[vNext]" section of the CHANGELOG, linking to this pull request & included my GitHub handle to the release contributors list.

… the reqnroll.json file when generating snippets (sync or async).

Added unit tests for the new skeletonStyle enum deserialization.
Added unit test for the SnippetService.
Added Spec test in the DefineStepsCommand spec for the generation of async and sync snippets.
@clrudolphi clrudolphi requested a review from gasparnagy October 22, 2025 20:40
@clrudolphi clrudolphi self-assigned this Oct 22, 2025
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.

2 participants