Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Allure specflow plugin compatible with latest version of Specflow 3.4.3 #133

Closed
1 of 3 tasks
dmytro-grablov opened this issue Sep 1, 2020 · 6 comments
Closed
1 of 3 tasks

Comments

@dmytro-grablov
Copy link

dmytro-grablov commented Sep 1, 2020

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?

Tests won't run with latest version of specflow

Please tell us about your environment:

  • Allure version: 3.1.0.6
  • Test framework: nunit@3.11.0
  • Specflow: 3.4.3
  • Allure adaptor: 3.1.0.6

Other information

I tried to update all actual dependencies on the project. At this moment latest available SpecFlow version is 3.4.3 and SpecFlow.Allure 3.1.0.6

An attempt to run any test produces an error

OneTimeSetUp: System.TypeInitializationException : The type initializer for 'Allure.SpecFlowPlugin.AllureTestTracerWrapper' threw an exception.
----> System.TypeInitializationException : The type initializer for 'Allure.SpecFlowPlugin.PluginHelper' threw an exception.
----> System.MissingMethodException : Method not found: 'Void TechTalk.SpecFlow.FeatureInfo..ctor(System.Globalization.CultureInfo, System.String, System.String, System.String[])'.

Reason of the failure is the change of the API on SpecFlow side
SpecFlowOSS/SpecFlow@1a614f2#diff-f48c953716c89e50045366bbfdfd3fddL15
Since new version of FeatureInfo constructor now takes additional mandatory argument, its initialization fails

@saiparth
Copy link

saiparth commented Sep 1, 2020

Hi,
I am also facing the same issue.

@wujenny15
Copy link

I am also facing this issue so I use Specflow 3.3.57 instead. Speclfow 3.3.57 works.

@AlbertoBN
Copy link

Specflow 3.4.14 does not work

@AlbertoBN
Copy link

Any chance someone is doing something about this one?

@michalgorynski
Copy link

I am also facing this issue, any chance to fixing this one soon?

@Bakanych
Copy link
Contributor

Hi all and sorry for update delay.
New version is now available: https://www.nuget.org/packages/SpecFlow.Allure/3.5.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants