You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my Visual Studio solution I am having both traditional NUnit testcase and ReqnRoll BDD tests.
Executing the NUnit testcases fails after updating ReqnRoll NuGet packages to version 2.2.1 with following message...
Message:
OneTimeSetUp: System.InvalidOperationException : Only static OneTimeSetUp and OneTimeTearDown are allowed for InstancePerTestCase mode.
Reqnroll Version
2.2.1
Which test runner are you using?
NUnit
Test Runner Version Number
2.2.1
.NET Implementation
.NET 6.0
Test Execution Method
Visual Studio Test Explorer
Content of reqnroll.json configuration file
No response
Issue Description
In my Visual Studio solution I am having both traditional NUnit testcase and ReqnRoll BDD tests.
Executing the NUnit testcases fails after updating ReqnRoll NuGet packages to version 2.2.1 with following message...
Message:
OneTimeSetUp: System.InvalidOperationException : Only static OneTimeSetUp and OneTimeTearDown are allowed for InstancePerTestCase mode.
Stack Trace:
StaticMethodValidator.Validate(MethodInfo method)
SetUpTearDownItem.RunSetUpOrTearDownMethod(TestExecutionContext context, IMethodInfo method)
SetUpTearDownItem.RunSetUp(TestExecutionContext context)
<.ctor>b__0(TestExecutionContext context)
BeforeTestCommand.Execute(TestExecutionContext context)
CompositeWorkItem.PerformOneTimeSetUp()
Best regards
Soeren Andersen
Email: [email protected]
Steps to Reproduce
Link to Repro Project
No response
The text was updated successfully, but these errors were encountered: