How to get SpecFlow working with xUnit.net as the test runner -
i'm trying use xunit.net test runner specflow. specflow 1.2 binaries official download area don't contain xunit.net provider master branch on github has one, build specflow.core.dll that. i'm using xunit.net 1.5.
however, when change unittestprovider name in app.config in spec project, null reference custom tool error , generated .feature.cs file single line:
object reference not set instance of object.
has succeeded in getting specflow work xunit.net? if so, how?
there example specflow xunit in specflow-example repository:
http://github.com/techtalk/specflow-examples/tree/master/bowlingkata/bowlingkata-xunit
in order run it, have build specflow latest sources on github (master branch). should have installed specflow 1.2 in order proper visualstudio integration. replace assemblies in installation directory (default program files (x86)\techtalk\specflow) assemblies built source.
after should able build , run above specflow-example project.
hope helps?
Comments
Post a Comment