automation - How to integrate NUnit Tests (written in C#) in TFS builds? -


i've written tests using selenium in nunit framework using c# language. want associate these tests part of builds in tfs. whenever new build generated. these tests able run part of builds , generate/email reports well.

recommend use new build system vnext build. vnext builds json based, , can plugin tasks built in msbuild, powershell , varied other scripting languages.

about how integrate nunit tests in tfs builds, blog describes how this: running nunit tests in tfs 2015 build vnext

simply summarized follows:

  1. add nuget package nunit test adapter
  2. specify path of custom test adapter inside build definition

    • copying adapters inside visual studio testwindows folder

    • specify path custom test adapter nunit packages

some other tutorial reference:

xunit or nunit visual studio online build

running nunit , jasmine.js unit tests in tfs/vso vnext build


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -