草庐IT

ApprovalTests

全部标签

c# - 如何在 Teamcity 上使用 ApprovalTests?

我正在使用ApprovalTests.在我的开发机器上,我对DiffReporter很满意,它在我的测试结果与批准的结果不同时启动TortoiseDiff:[UseReporter(typeof(DiffReporter))]publicclassMyApprovalTests{...}但是,当在Teamcity上运行相同的测试并且结果不同时,测试失败并出现以下错误:System.Exception:Unabletolaunch:tortoisemerge.exewitharguments...ErrorMessage:Thesystemcannotfindthefilespecifi