Pac0
Pac0

Reputation: 23174

VS 2015 What is the difference between using "Unit Test" Project instead of plain library project for tests?

(Rewrited after comments)

In Visual Studio 2015, what is the difference between using specific typed "Unit Test Project" instead of "Class Library " for a test project, apart from the cool lab icon?

For example : Does it triggers special behaviour of Visual Studio ? Would it help to automate test ? Does it integrate better with vs-team-services ?

My question is not about the benefit of automatic testing / continous integration in general, but on the project template/feature of Visual Studio 2015.

Upvotes: 0

Views: 488

Answers (1)

zaitsman
zaitsman

Reputation: 9509

The 'Unit test' ProjectGuids tag allows for additional menu item behaviour, such as Add-New Item... will show the Tests group with the Test file templates. It can also be used for discovery by your test runner (although built-in test runner and most modern ones don't rely on that these days).

Upvotes: 1

Related Questions