从单元测试生成经理报告 (Visual Studio)
是否可以从 Visual Studio 2008 的集成单元测试生成报告?比如说,您将其交给客户经理以包含在客户的发票中。看起来比这个好 10% 的吗?
(来源:skimedic.com)
我问这个问题是因为 Rob Conery 制作了一个关于使用 BDD 的精彩视频开发应用程序。在其中,他使用了称为机器规范(或 MSpec)的第三方框架。我已经让 MSpec 工作得很好。但是,在这个生命周期大约 6 个月左右完成之前,我不想向产品团队介绍 MSpec。
因此,在此之前我们将使用 Visual Studio 的单元测试。但是,我真的很喜欢 Machine.Specification 生成那些非常干净的 HTML 报告的方式。
有没有办法从内置的 Visual Studio 2008 单元测试生成此类报告?我们的老板很乐意提供我们的测试报告(数百、数千)。
先感谢您!
Is it possible to generate a report from Visual Studio 2008's integrated unit tests? Say, one you hand off to an account manager to include in an invoice for the client. One that looks say 10% as good as this?
(source: skimedic.com)
I ask because Rob Conery made a great video about using BDD to develop applications. And within it, he uses a 3rd party framework called Machine Specifications (or MSpec). I have gotten MSpec working quite nicely on my end. But, I do not want to introduce MSpec to the product team until this lifecycle is complete in about 6 months or so.
So, until then we are using Visual Studio's unit test. But, I REALLY love the way Machine.Specification generates those very clean HTML reports.
Is there a way to generate such reports from the built-in Visual Studio 2008 unit tests? Our bosses would love to hand off a report of our tests (in the 100s, 1000s).
Thank you in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
显然,您可以使用 MSTest 运行 CruiseControl 并获得包含测试结果的构建报告。
http://confluence.public.thoughtworks.org/显示/CCNET/使用+CruiseControl.NET+with+MSTest
Apparently you can run CruiseControl with MSTest and get a build report that includes test results.
http://confluence.public.thoughtworks.org/display/CCNET/Using+CruiseControl.NET+with+MSTest