Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人知道是否可以将结果写入某些跟踪侦听器或测试报告抢购并嵌入测试报告中的东西?
例如,var loan = GetLoans(...parameters); Assert.IsTrue(Loans.Length>0); TestReport.Write("用户有:" +loans.Count);
然后让它出现在测试报告中!有任何想法吗?:)
TestLog.WriteLine(....)
另请注意,TestLog 支持嵌入附件并在日志中创建嵌套部分。