How can I get XML report after running nunit-console? (TeamCity Enterprise 9.1.6)

Answered

After updating TeamCity to NUnit 3 I've setup my build to use NUnit step. But by default nunit-console uses '--noresult ' option that cannot be overrided by Additional command line parameters . But I need to xml report be generated ('--result:testresult.xml') for tests run. So how can I get the one?

 

Thanks in advance

2 comments

Hi Dmitry,

No, it's not possible to add --result command line parameter. As workaround you can run tests from command line, preserving the basic features TeamCity-NUnit integration.

0

Please sign in to leave a comment.