CCnet MsBuild 和 MSTest
我已经使用 MSBuild 和 MSTest 设置了 CCNet 服务器。 之后,我创建了一个包含一些单元测试的测试项目。 构建成功,但有两个单元测试失败(故意)。 我收到一封电子邮件,指出构建未成功(甚至只有单元测试失败)。 是否可以发送单独的电子邮件(如果只有单元测试失败)或更改电子邮件的内容,以便我可以看到只有单元测试失败而不是构建本身?
我期待您的答复, 亲切的问候
Sandor D.
I've set up a CCNet Server with MSBuild and MSTest.
Afterwards I've created a Test Project with some Unit Tests.
The Build is sucessfull, but two of the Unit Tests do fail (on purpose).
I receive an Email that the Build was not successfull (even only the Unit Tests failed).
Is it possible to send a seperated Email (if only the Unit Tests fail) or change the contend of the Email so I can see that only the Unit Tests failed and not the Build itsself?
I look forward to your answer,
with kind regards
Sandor D.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已在 ccnet.config 中附加了以下代码:
现在我在报告电子邮件中获得了通过和失败的单元测试的输出。
I've appended my ccnet.config with the following code:
So now I get an output of the passed and failed unit tests in the report email.