I like the notion of 'living documentation' as provided by http://www.relishapp.com/ and http://getgauge.io/, however I think BDDfy has the correct model (code -> documentation).
I'd like to add support for including markdown in the story class comments, and step method comments. The content then obviously flows through to the report. I've not investigated in depth, but I think this should be possible for both fluent and reflective syntaxes.
When I start a new development project I'd like to start by defining all of my stories and scenarios, complete with all known requirements, screenshots, links etc, and generating the report. From then on that document serves as a complete view of the project, its requirements and status.
The implementation is slightly complicated because comments are not available via reflection. It could be done by parsing source (ala http://dontangg.github.io/nocco/#section_5) but my preference is to rely on xml documentation and /// commments, that way msbuild deals with the parsing and source code is not required.
Generating the html report would require a Markdown->Html component, such as https://github.com/Knagis/CommonMark.NET/ or http://www.toptensoftware.com/markdowndeep/.
If I implement this will it get merged?
I like the notion of 'living documentation' as provided by http://www.relishapp.com/ and http://getgauge.io/, however I think BDDfy has the correct model (code -> documentation).
I'd like to add support for including markdown in the story class comments, and step method comments. The content then obviously flows through to the report. I've not investigated in depth, but I think this should be possible for both fluent and reflective syntaxes.
When I start a new development project I'd like to start by defining all of my stories and scenarios, complete with all known requirements, screenshots, links etc, and generating the report. From then on that document serves as a complete view of the project, its requirements and status.
The implementation is slightly complicated because comments are not available via reflection. It could be done by parsing source (ala http://dontangg.github.io/nocco/#section_5) but my preference is to rely on xml documentation and /// commments, that way msbuild deals with the parsing and source code is not required.
Generating the html report would require a Markdown->Html component, such as https://github.com/Knagis/CommonMark.NET/ or http://www.toptensoftware.com/markdowndeep/.
If I implement this will it get merged?