-
Notifications
You must be signed in to change notification settings - Fork 67
Closed
Labels
Description
I'm submitting a ...
- bug report
- feature request
- support request => Please do not submit support request here, see note at the top of this template.
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: [email protected]
- Runner: [email protected]
- Allure adaptor: [email protected]
- Generate report using: [email protected]
Other information
Reactions are currently unavailable