Currently there is no way to generate code behind only for a "plain
standalone" feature file which is not included into a project.
One reason for this is, that the generation process needs some
configuration data (i.e. for language [C#,VB] and which execution
runtime [NUnit, MSTest ...] the generated code should target).
Currently this configuration is in the App.config of the containing
project.
For the workflow this is not optimal, since you cannot "just copy" a
new feature file into a directory and have it executed automatically.
Someone has to add the feature file to the project.
Although I doubt that this is such a big problem, since I argue that
adding feature files should be a "controlled process" where a
developer should be involved (at least running the features first
locally on a dev machine ...)
--
mail: jonas...@gmail.com
web: www.jonasbandi.net
blog: blog.jonasbandi.net
twitter: twitter.com/jbandi