Closed dklementyev closed 4 years ago
Describe the bug Hi! When I try to run test cases with this Adapter i received System.ArgumentNullException : Value cannot be null. (Parameter 'key')
StackTrace: ConcurrentDictionary2.ThrowKeyNullException() ConcurrentDictionary2.TryGetValue(TKey key, TValue& value) ConcurrentDictionary`2.get_Item(TKey key) AllureStorage.Get[T](String uuid) AllureStorage.AddStep(String parentUuid, String uuid, StepResult stepResult) AllureLifecycle.StartStep(String parentUuid, String uuid, StepResult stepResult) AllureTestTracerWrapper.StartStep(StepInstance stepInstance) ITestTracer.TraceStep(StepInstance stepInstance, Boolean showAdditionalArguments) TestExecutionEngine.ExecuteStep(IContextManager contextManager, StepInstance stepInstance) TestExecutionEngine.Step(StepDefinitionKeyword stepDefinitionKeyword, String keyword, String text, String multilineTextArg, Table tableArg) TestRunner.Given(String text, String multilineTextArg, Table tableArg, String keyword) TestCasesFeature.AddTwoNumbers() line 8
2.ThrowKeyNullException() ConcurrentDictionary
Framework: .NET Core 3.1
Packages: Microsoft.NET.Test.SDK 16.4.0 Noksa.NUnit.SpecFlow3 1.1.4 NUnit3TestAdapter 3.16.1 SpecFlow 3.1.80 SpecFlow.NUnit.Runners 3.1.80 Specflow.NUnit 3.1.80 SpecFlow.Tools.MsBuild.Generation 3.1.80
To Reproduce
Expected behavior
Screenshots
Versions
Sorry, found and issue in Closed similar with mine. Solution is - add specflow.json and fill it with:
{ "stepAssemblies": [ { "assembly": "Allure.SpecFlowPlugin" } ] }
Describe the bug Hi! When I try to run test cases with this Adapter i received System.ArgumentNullException : Value cannot be null. (Parameter 'key')
StackTrace: ConcurrentDictionary
2.ThrowKeyNullException() ConcurrentDictionary
2.TryGetValue(TKey key, TValue& value) ConcurrentDictionary`2.get_Item(TKey key) AllureStorage.Get[T](String uuid) AllureStorage.AddStep(String parentUuid, String uuid, StepResult stepResult) AllureLifecycle.StartStep(String parentUuid, String uuid, StepResult stepResult) AllureTestTracerWrapper.StartStep(StepInstance stepInstance) ITestTracer.TraceStep(StepInstance stepInstance, Boolean showAdditionalArguments) TestExecutionEngine.ExecuteStep(IContextManager contextManager, StepInstance stepInstance) TestExecutionEngine.Step(StepDefinitionKeyword stepDefinitionKeyword, String keyword, String text, String multilineTextArg, Table tableArg) TestRunner.Given(String text, String multilineTextArg, Table tableArg, String keyword) TestCasesFeature.AddTwoNumbers() line 8Framework: .NET Core 3.1
Packages: Microsoft.NET.Test.SDK 16.4.0 Noksa.NUnit.SpecFlow3 1.1.4 NUnit3TestAdapter 3.16.1 SpecFlow 3.1.80 SpecFlow.NUnit.Runners 3.1.80 Specflow.NUnit 3.1.80 SpecFlow.Tools.MsBuild.Generation 3.1.80
To Reproduce
Expected behavior
Screenshots
Versions