reportportal / agent-net-specflow

Report Portal agent for SpecFlow
Apache License 2.0
10 stars 4 forks source link

Support SpecFlow 3.0 when it will be released #39

Closed nvborisenko closed 5 years ago

nvborisenko commented 5 years ago

Breaking changes:

pete-ryu commented 5 years ago

We're experimenting with SpecFlow 3 (3.0.188) and observed ReportPortal.SpecFlow 2.0.0-beta.2 is throwing an exception during test execution. Any updates on ReportPortal supporting SpecFlow 3?

[3/28/2019 11:26:43 AM Informational] [xUnit.net 00:00:04.71]       System.AggregateException : One or more errors occurred.
[3/28/2019 11:26:43 AM Informational] [xUnit.net 00:00:04.71]       ---- System.MissingMethodException : Method not found: 'Void TechTalk.SpecFlow.Bindings.BindingInvoker..ctor(TechTalk.SpecFlow.Configuration.SpecFlowConfiguration, TechTalk.SpecFlow.ErrorHandling.IErrorProvider)'.
[3/28/2019 11:26:43 AM Informational] [xUnit.net 00:00:04.71]       ---- The following constructor parameters did not have matching fixture data: FixtureData fixtureData
[3/28/2019 11:26:43 AM Informational] [xUnit.net 00:00:04.71]       Stack Trace:
[3/28/2019 11:26:43 AM Informational] [xUnit.net 00:00:04.71]         
[3/28/2019 11:26:43 AM Informational] [xUnit.net 00:00:04.71]         ----- Inner Stack Trace #1 (System.MissingMethodException) -----
[3/28/2019 11:26:43 AM Informational] [xUnit.net 00:00:04.71]            at ReportPortal.SpecFlowPlugin.SafeBindingInvoker..ctor(SpecFlowConfiguration specFlowConfiguration, IErrorProvider errorProvider)
[3/28/2019 11:26:43 AM Informational] [xUnit.net 00:00:04.71]         ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) -----
nvborisenko commented 5 years ago

SpecFlow 3.0.188 is released, ReportPortal.SpecFlow 2.0.0 is released too.

@pete-ryu, the fix of your above issue is included in v2.0.0.