MSpec Test Adapter with TFS

只谈情不闲聊 提交于 2019-12-11 07:53:51

问题


Has anyone successfully used the MSpec Test Adapter with TFS? If yes, can you please shed some light on how I would go on about doing this?

I noticed this post but it uses the console runner.


回答1:


After lots of research and trial and error, I finally figured how to make this work. It's actually pretty easy.

  1. Install the MSpec Test Adapter on the build server.
  2. Download the MSpec Test Adapter and change the file type to .zip
  3. Extract the files to a folder on your build server.
  4. Point the "Version control path to custom assemblies" to the files in step 3 above. *Note: You can access the window to do this from Visual Studio by clicking Build > Manage Build Controllers > and selecting the controller.
  5. Ensure in the build definition, you select Visual Studio Test Runner. This can be accessed from the test definition > Process tab > Test > Automated tests > Test source

When you run your build, you should see your tests run.



来源:https://stackoverflow.com/questions/26871402/mspec-test-adapter-with-tfs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!