Run Mstest.exe Through A Vb Script?

Mar 14, 2012

If i put the below in visual studio command line it works perfectly.MSTest.exe /testmetadata:"C:Usersdrm111DocumentsQualityAssuranceQualityAssurance.vsmdi" /resultsfile:c: empmyresults.trx

But I don't know how to call it using a VB script. Basically i want to call the cmd line and run the vsmdi but i want to do it through VB.net code. so the flow will be VB.net --> cmd line --> which runs mstest.exe with my arguments.

View 1 Replies


ADVERTISEMENT

MSTest And "method Should Be Marked Static"?

Jun 25, 2009

I have been trying to convert a test from NUnit to MSTest, using VB.Net 2.0. However, I get the following message:"Method AntecedentImportFixture.FixtureSetup has wrong signature. The method should be marked static."When I change the method to Shared, I get a message that says ""cannot refer to an instance member of a class from within a shared method" on a private variable that I am trying to reference. How do you get around this "static" issue while using MSTest in VB.Net?

View 10 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved