SpecFlow test plan from features
How to get a "test plan" from SpecFlow feature files? Is it possible to get similar "report" (HTML, pdf, word, etc.) as we get from executed tests?
It would be great to get table with:
- test description
- steps
- expected result
Information is already inside feature files, just how to structure it as "test pla开发者_开发百科n"
I'm not entirely sure what you mean with "testplan" but using SpecFlow.exe you can get two kind of reports:
- A test execution report, that shows how your tests has executed. I've written about it here: http://www.marcusoft.net/2010/12/specflowexe-and-mstest.html
- A step definition report, that shows how the step definitions are used within your specifications. I've written about that here: http://www.marcusoft.net/2010/12/know-where-you-stepgenerate-step.html
Combining these two might give you what your looking for, but (!) I think what your actually looking for is something like SpecLog that is a tool to manage stories and requirements in an agile project.
I written about SpecLog here:http://www.marcusoft.net/2011/02/specification-by-example-with.html and their main site is here: http://www.speclog.net/
I hope this answers you question
精彩评论