I'm submitting a ...
What is the current behavior?
When using SpecFlow.xUnit, running any scenario results in the following error:
Message:
System.InvalidOperationException : No test context is active.
Stack Trace:
AllureContext.get_CurrentTest()
AllureLifecycle.UpdateTestCase(Action`1 update)
lambda_method47(Closure , IContextManager )
TestExecutionEngine.FireEvents(HookType hookType)
TestExecutionEngine.FireScenarioEvents(HookType bindingEvent)
TestExecutionEngine.OnScenarioEnd()
TestRunner.OnScenarioEnd()
SelectiveRunTestRunner.OnScenarioEnd()
ScenarioAndStepOutcomesFeature.TestTearDown()
IDisposable.Dispose()
ReflectionAbstractionExtensions.DisposeTestClass(ITest test, Object testClass, IMessageBus messageBus, ExecutionTimer timer, CancellationTokenSource cancellationTokenSource) line 79
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Just setup the project with the SpecFlow.xUnit runner.
What is the expected behavior?
No error is thrown, the scenarios are executed in the same way as they do with SpecFlow.NUnit.
Please tell us about your environment:
- Test framework: SpecFlow@3.9.74
- Runner: SpecFlow.xUnit@3.9.74
- Allure adaptor: Allure.SpecFlowPlugin@2.10.0
- Generate report using: allure-maven@2.18
Other information
I'm submitting a ...
What is the current behavior?
When using SpecFlow.xUnit, running any scenario results in the following error:
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Just setup the project with the SpecFlow.xUnit runner.
What is the expected behavior?
No error is thrown, the scenarios are executed in the same way as they do with SpecFlow.NUnit.
Please tell us about your environment:
Other information