SpecFlow Support

Hi Folks,

I see that MSpec support has been added to .NET projects. Is there any plan to support SpecFlow, another widely used BDD framework for .NET?

Best Regards,

Daniel

5 comments
Comment actions Permalink

We do not have any plans to support SpecFlow now.

Actually, MSpec provides good support for TeamCity that is enabled by adding /teamcity commandline argument to mspec.exe.

MSpec uses TeamCity service messages to report tests into TeamCity. Please take a look at the documentation
http://confluence.jetbrains.net/display/TCD65/Build+Script+Interaction+with+TeamCity

I believe the easiest way to make TeamCity detect tests from SpecFlow is to make SpecFlow report service messages.
Please let me know what you think.

0
Comment actions Permalink

You can do this quite easily by adding a new report tab and then following this article:

https://github.com/techtalk/SpecFlow/wiki/Reporting

0
Comment actions Permalink

I noticed SpecFlow generated NUnit report .xml files. You may use Xml Reporting to import reports into TeamCity.
Please take a look http://confluence.jetbrains.net/display/TCD65/XML+Report+Processing

You may report this as a feature into the issue tracker at http://youtrack.jetbrains.net
On the other hand, it's possible to create a patch for SpecFlow supporting printing TeamCity service messages as MSpec does.

0
Comment actions Permalink

I Plus 1 the idea of SpecFlow support, there is a pretty big community using it. Anything that can help use specflow more efficently would be very useful.

0
Comment actions Permalink

Thank you for the vote. Please create the issue in the issue tracker to let everybody vote for the support of SpecFlow in TeamCity.

You may consider to use TeamCity Service Messages
http://confluence.jetbrains.net/display/TCD5/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ReportingTests
and
https://github.com/JetBrains/TeamCity.ServiceMessages
to easily implement tests reporting from SpecFlow into TeamCity.

0

Please sign in to leave a comment.