jeudi 5 mai 2016

@Ignore tag on SpecFlow 2.0.0 results in build error

I've recently upgraded from SpecFlow 1.9.0 to 2.0.0 and NUnit 2.6.4 to 3.2.1.

The SpecFlow feature file snippet below used to work before, however it's failing with this error now: 'NUnit.Framework.IgnoreAttribute' does not contain a constructor that takes 0 arguments

@Register @Ignore
Feature: Registration page

This is the auto-generated SpecFlow feature class snippet that's failing: [NUnit.Framework.IgnoreAttribute()]

How can @Ignore tags be used in SpecFlow 2.0.0 and NUnit 3.x?

Aucun commentaire:

Enregistrer un commentaire