我正在使用NUnit:2.6.4.14350版本。从NUnit生成的输出没有每个测试用例的ExpectedResult属性值和ActaulResult属性值。因此,我想将它们包含在NUnit TestResult输出中。 当前输出: “test-case name =”MyTestClass.TC-40“description =”SUM of Two Numbers:SUM(2,3)“executed =”True“result =”Success“success =”True“time = “0.347”asserts =“1”“如何配置NUnit TestResult输出以包含预期结果和实际结果
所需输出: ”test-case name =“MyTestClass.TC-40”description =“两个数字的总和:SUM(2,3)”executed =“True”结果=“成功”成功=“真”时间=“0.347”断言=“1”expectedresult =“5”actualresult =“5”“
在此先感谢您的帮助。
感谢查理的意见。 – user2844265