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: NUnit projects fail or provide warning as TearDown : System.InvalidOperationException : Only static OneTimeSetUp and OneTimeTearDown are allowed for InstancePerTestCase mode. #323

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

gasparnagy
Copy link
Contributor

@gasparnagy gasparnagy commented Nov 8, 2024

🤔 What's changed?

Fix: NUnit projects fail or provide warning as TearDown : System.InvalidOperationException : Only static OneTimeSetUp and OneTimeTearDown are allowed for InstancePerTestCase mode.

⚡️ What's your motivation?

Fixes #320

🏷️ What kind of change is this?

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

♻️ Anything particular you want feedback on?

n/a

📋 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.

…alidOperationException : Only static OneTimeSetUp and OneTimeTearDown are allowed for InstancePerTestCase mode.` (#320)
@gasparnagy gasparnagy marked this pull request as ready for review November 8, 2024 16:02
@gasparnagy gasparnagy merged commit d58f5d0 into main Nov 8, 2024
5 checks passed
@gasparnagy gasparnagy deleted the fix-nunit-issue-230 branch November 8, 2024 16:27
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.

TearDown : System.InvalidOperationException
3 participants