开发者

Email all the test results once nunit finishes the tests

I wrote unit tests using NUnit. Once all the tests are done, I want to email the Test results to all my team. Is 开发者_如何学Pythonthere a way to do it?


Usually this is done using an automated build tool like Cruise Control. It checks your code out of version control, builds the app, runs all the tests, packages the app, and sends it to the first deployment server. Team members can view the complete results of the build and test cycle using a browser to check the build server dashboard.

I'd prefer that to getting e-mailed test results. E-mail would soon become an annoyance.


Since you are using TFS, you can make use of NUnit for Team Build which would make your NUnit test results visible in the build log and incorporated into the data warehouse for reporting.

There is also NUnitForVS which can publish results within TFS.

Going one of the above routes will allow you to leverage the current CI environment and is a much better approach to emailing the results as they surface.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜