Questions tagged [mstestv2]
2 questions
1
vote
0 answers
How do i solve vstest error "The test source file "C:\Windows\MyTestProject.dll" provided was not found
echo Setting path
SET PATH=%PATH%;D:\My-Tests-Folder\TestPlatform\tools\net462\Common7\IDE\Extensions\TestPlatform
cd "D:\My-Tests-Folder\MSTest"
start cmd /k vstest.console.exe MyTestProject.dll /testcasefilter:TestCategory=Category123
I have the…

StackTrace
- 9,190
- 36
- 114
- 202
0
votes
0 answers
C# MSTest det DataRow value from TestInitialize
I would like to read values of DataRowAttribute from TestInitialize method, so common presetups could be made accrodingly.
[TestClass]
public class UnitTest1
{
public TestContext TestContext { get; set; }
[ClassInitialize]
…

Oxana Viktorovna
- 11
- 5