SpecFlow Exception, while running a test under WP8 project

136 views Asked by At

Trying to run SpecFlow test I receive an error:

Missing resource DefaultSkeletonTemplates.sftemplates

I have:

  • The feature file
  • Feature class (generated code)
  • Feature step
  • All classes bound

What could be the problem?

1

There are 1 answers

0
Rami A. On

I've run into this issue when the step isn't defined or can't be found.

You can run the test using statlight.exe on the command line to see SpecFlow's detailed output on the console.

In the feature file, right-click on the step and select "Go To Step Definition".

If a step can't be found, a message appears with the text "No matching step binding found for this step! Do you want to copy the step binding skeleton to the clipboard?"

Select Yes to copy the code for the step to the clipboard.

Then paste the code in a SpecFlow bound class and try running the scenario again.