0
在CruiseControl.net上有一個名爲「NUnit Details」的鏈接。當你點擊這個它提供了很多細節,包括摘要部分,看起來與此類似...cruisecontrol.net電子郵件
摘要 組件測試:2個 測試執行:56個 遍:54 失敗:2 忽略:2
我想在每個版本上通過電子郵件發送給我的摘要。任何提示都會很棒。
在CruiseControl.net上有一個名爲「NUnit Details」的鏈接。當你點擊這個它提供了很多細節,包括摘要部分,看起來與此類似...cruisecontrol.net電子郵件
摘要 組件測試:2個 測試執行:56個 遍:54 失敗:2 忽略:2
我想在每個版本上通過電子郵件發送給我的摘要。任何提示都會很棒。
電子郵件的格式被配置在ccnet.exe.config或ccservice.exe.config(在C:\ Program Files文件\ CruiseControl.NET \服務器)如果你正在運行一個CCNET服務。
我相信你要包含的文件是tests.xml,因爲它包括了nunit測試結果的詳細列表。修改配置文件的xslFiles部分以包含此樣式表。它看起來像這樣。
<!-- Specifies the stylesheets that are used to transform the build results when using the EmailPublisher -->
<xslFiles>
<file name="xsl\header.xsl"/>
<file name="xsl\compile.xsl"/>
...
<!-- add tests.xsl here... -->
<file name="xsl\tests.xsl"/>
</xslFiles>