DaveEP DaveEP - 24 days ago 7
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

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.