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

Fix: Reqnroll generates invalid code for rule backgrounds in Visual Basic #284

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

gasparnagy
Copy link
Contributor

@gasparnagy gasparnagy commented Oct 7, 2024

🤔 What's changed?

Fixes #283

The important bit is just the removal of the unnecessary using (new SourceLineScope(_reqnrollConfiguration, _codeDomHelper, statements, context.Document.SourceFilePath, background.Location)) line from the ScenarioPartHelper class, the rest is just to have a test.

🏷️ What kind of change is this?

  • 🐛 Bug fix (non-breaking change which fixes a defect)

📋 Checklist:

  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • 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.

This text was originally taken from the template of the Cucumber project, then edited by hand. You can modify the template here.

@gasparnagy gasparnagy merged commit 7e81c95 into main Oct 7, 2024
4 checks passed
@gasparnagy gasparnagy deleted the fix_rule_backround_vb branch October 7, 2024 10:39
gasparnagy added a commit that referenced this pull request Oct 7, 2024
…el-prototype

* origin/main:
  Fix: Reqnroll generates invalid code for rule backgrounds in Visual Basic (#284)
gasparnagy added a commit that referenced this pull request Oct 14, 2024
* main:
  Bump version
  VS Code integration  proper doc title (#280)
  Fix: Reqnroll generates invalid code for rule backgrounds in Visual Basic (#284)
  Update nunit.md (#276)
  SolutionTests: Check if SDK version is installed and if not ignore the test (#266)
  Fix for #271 This PR modifies the Feature AST visitor to appropriately handle Rule Background steps. (#272)
  Bugfix/fix reqnroll.verify parallelization (#255)
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.

Reqnroll generates invalid code for rule backgrounds in Visual Basic
2 participants