DaveEP DaveEP - 1 year ago 89
Git Question

VS2015 Add unit test to source control

I added a unit test to my (C#) solution in Visual Studio 2015 but those unit tests are not being saved in the source control (I'm using GIT via VisualStudio.com), so can't be downloaded / run by the other remote developers.

Can unit tests be added? If so how? I looked online and can't find a solution other than file-->source control which doesn't exists on my system.

Answer Source

It looks like I had created the project in the wrong folder. Now I created it as a sub folder of the project it's testing all works fine.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download