How to run unit tests from a Virtual Machine without Visual Studio and change the Test Data excel sheet every time without compiling?

  • Thread starter Thread starter Raji1221
  • Start date Start date
R

Raji1221

Guest
Hi,

  1. I have a Virtual Machine only for Test Execution [with Test Agent installed]
  2. I have developed a unit test solution in VS 2015 with Data Driven framework ( Excel as data sources). Added this excel in a folder in the Solution and path is pointed in the Local Settings file under Deployment tab.
  3. To run the tests in VM , I copied all the DLLs into a folder and created a batch file with MSTEST to excute the test scripts.
  4. I have say: 2 records in excel sheet now, I want to add 10 more records and run the test using batch script. It iterates only for 2 records.

Is re-compilation needed , though am not changing any code.

I want the test to be executed based on the number of records added in the Excel test data sheet. [ Only Test agent is installed in this VM]


Can anyone help on this?

Thanks & Regards,

Raji

Continue reading...
 
Back
Top