为 NUnit 测试套件返回 TAP 输出的 dll/runner?
有人知道 uf 有一个 dll/runner 可以从 NUnit 测试套件返回 TAP 输出吗?
Anyone know uf there's a dll/runner anywhere that returns TAP output from an NUnit test suite?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对我来说似乎不太可能,因为存在阻抗不匹配。 TAP 对于 NUnit 所谓的测试没有概念,并且 TAP 所谓的测试通常对应于 NUnit 断言,但不精确。 所以我不确定你正在寻找的东西会如何工作。 (但也许启发式方法就足够有效了。)
Seems unlikely to me, since there is an impedance mismatch. TAP has no concept for what NUnit calls a test, and what TAP calls a test usually corresponds to an NUnit assertion, but not precisely. So I’m not sure how the thing you’re looking for would work at all. (But maybe a heuristic could work well enough.)
至少,每次 TestFixture 运行的简单通过/失败将允许输出被吸收到其他 TAP 结果中以聚合结果/报告。 也许就像xslt一样简单,将xml报告转换成TAP
At the very least, a simple pass/fail for each TestFixture run would allow the output to be sucked into other TAP results for aggregating results/reports. Maybe it's as simple as a xslt to transform the xml report into TAP