扩展VS 2012单元测试运行->执行测试时的事件 [英] Extend VS 2012 Unit Test Runs -> Event when tests are executed
问题描述
大家好!
我正在寻找一种解决方案,以在VS中运行的本地UnitTest完成后做一些额外的工作.我想在所有测试完成后将测试结果收集并报告到其他数据库中(实际上,我想问用户是否要报告 结果,但是多数民众赞成在v2 ....)
I am searching for a solution to do some extra work when a local UnitTest run in VS has finished. I want to collect and report the test results into an additional database after all tests are finished (actually I want to ask the user if he wants to report the results, but thats v2....)
我不太确定如何使用这种功能.我正在研究自己的测试适配器的方向,但实际上我认为这不可行,因为已经有用于知名和使用过的框架的测试适配器,所以这会 没道理.
I am not really sure how I can approach this kind of feature. I was researching in the direction of doing my own Test Adapter but actually I don't think this is feasible as there are already test adapters for the well known and used frameworks, so this would make no sense.
在执行所有测试时需要通知插件,此后还需要访问已执行测试的结果.
The plugin needs to be notified when all tests were executed and also need access to the results of the executed tests after that.
因此,我非常感谢您查看任何提示,界面和文档,在此先非常感谢您,欢呼
So I would really appreciate any hints, interfaces and documentation to look at, thank you very much in advance, cheers
Rene
推荐答案
Hi Rene,
Hi Rene,
我建议您从以下位置找到扩展工具:
I am suggesting you find a extension tool from:
http://visualstudiogallery.msdn.microsoft.com/
这是您可以尝试的工具:
Here is a tool you can try:
http://visualstudiogallery.msdn.microsoft.com/B3C7B687-FA4A -420A-9154-46D46FE2E247?SRC =精选
这篇关于扩展VS 2012单元测试运行->执行测试时的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!