I want to run nSpec in Team City 7.X (or later). I have seen that Team City has support for mSpec framework but no for nSpec. And the option XML Report Processing seems to not support nSpec.
Is it possible?
I want to run nSpec in Team City 7.X (or later). I have seen that Team City has support for mSpec framework but no for nSpec. And the option XML Report Processing seems to not support nSpec.
Is it possible?
I know this question is quite old but thought I would post in case anyone has this problem, like I have recently.
From my perspective there are 2 options (until there is an in-built runner in TeamCity).
Option 1: Configure NSpec tests to be run as an NUnit test
The best way I have found for doing this is using a workaround which allows NSpec tests to be run as an NUnit test.
Option 2: Install the NSpec console on your build server and execute your tests using command line
Since TeamCity allows use to use the command line directly you could install the NSpec console on your build server and run your tests directly from here. I have not done this so cannot give you much direction but it is likely to be a lot more complex than Option 1 when it comes returning a failing result etc.