How to integrate NUnit tests into a TFS 2010 build

后端 未结 3 829
陌清茗
陌清茗 2021-02-05 06:13

What is the best way to integrate nunit tests into TFS 2010? Is it via generic tests or is there a better approach to running them?

Ideally I\'d like to have the granul

3条回答
  •  别跟我提以往
    2021-02-05 06:47

    Ian Battersby wrote a great tutorial how to set up NUnit tests for Visual Studio 2010.

    Basically, you need to:

    • download his build workflow template and set to your build definition
    • install NUnit and NUnitTFS in your tfs machine
    • add paths to installed directories in build process parameters
    • set Configurations to Build setting in build process parameters
    • change your NUnitTfs.exe.config with your collection name

提交回复
热议问题