Last post Nov 09, 2016 03:56 PM by Chris Zhao
Nov 07, 2016 08:19 AM|Jack Hunt|LINK
I have 400+ unit test cases which are working properly in vs 2013 after build solution. But when other developer take clone from git and open it in vs 2015 then run all test cases there are randomly few test cases are passed and other are failed. All test
cases passed in vs 2013 but with vs 2015 few of them (e.g. 10 or 11) test cases passed and then other all are become failed.
Note : At every time in VS 2015 only 10 random test cases are passed and other are failed.
So is this any permission issue in Vs 2015?
Nov 07, 2016 08:45 AM|DigiMortal|LINK
Make sure you use latest versions of testing libraries. If you think there are issues with permissions then try to run VS2015 in administrative permissions.
Nov 07, 2016 11:57 AM|Jack Hunt|LINK
If i ran single test case then its passed but when i select run All in VS 2015 then its throw error in Vs 2015.
Nov 09, 2016 03:56 PM|Chris Zhao|LINK
If your solution is in a protected drive that you need administrator access to read/write, sometimes only a portion of the tests come up. Definitely run VS as administrator in that case.
If your solution is 64 bit, make sure that Test > Test Settings > Default Processor Architecture is set to x64. Sometimes it gets set to x86. Set it to x64, then rebuild.
Sometimes just restarting Visual Studio does the trick because the test explorer will start up again.
Don't forget to actually build the test project/solution