c# - How to run a SpecFlow test through a test harness? -


good afternoon/morning/evening folks,

i wondering possible me "execute" specflow test via sort of test harness (not nunit)?

previously test harness built ran ms unit tests calling methods within dll created when compiled tests.

i'm assuming same possible in theory since dll created, im wondering how of arguments etc.

so in short, possible if there straight forward way or barking wrong tree?

it's possible, i'm not clear why want to.

specflow clever way of generating tests. these nunit tests, can switched use mstest. when save edits .feature file vs runs custom tool converts plaintext .feature.cs file contains code version of wrote nunit attributes applied methods.

later, nunit runner (nunit, resharper, gallio, teamcity etc) loads dll , looks public methods marked [test] inside public classes marked [testfixture]. these methods called.

there nothing stop writing own runner, i'm not sure why that. nunit provides extensive reporting of success of test run in xml format, faster write parse that.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -