Questions tagged [testrunconfig]

11 questions
13
votes
2 answers

How to create the vsmdi/testrunconfig file when importing a Visual Studio test project?

When I add an existing test project, my solution lacks the vsdmi and the testrunconfig files. How to create it?
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
5
votes
2 answers

How to deploy directories to test output folders in Visual Studio 2008 Team System?

When open my LocalTestRun.testrunconfig file Deployment section I can choose which files are deployed to the Test output folders, but I need that a specific file to be deployed in a given subfolder. How to do that?
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
4
votes
2 answers

How to make a config file being copied into the test results directory while unit testing?

I have written some unit tests which depends on a configuration file. This file.config gets deployed into the bin\Debug directory of my test project. However, it doesn't seem to get copied into my output test results directory where the test…
Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
2
votes
1 answer

MSBuild: Copy dependency files before the NUnit task run

We are migrating from MSTests to NUnit. The first step was to migrate all our UnitTests projects which was accomplished using the following msbuild task:
1
vote
1 answer

TestRunConfig does not copy App.config file

Hello I have a UnitTest project, and I added multiple App.config files (never copied to the output directory). I have created runtestconfig files for different configuration I need. Each time I run…
Angela_SB
  • 249
  • 4
  • 12
1
vote
1 answer

MSTest /runconfig - No tests are run

I am running MSTest.exe without any problems if I do not specify a /runconfig file. However, as soon as I specify the config file (which is the exact same file, but in a different location), the test outputs the following: Loading…
Adam Levitt
  • 10,316
  • 26
  • 84
  • 145
0
votes
0 answers

IntelliJ Idea with Robot Framework runs the test two times

I faced a problem with the run. IntelliJ run one test two times. I use only Robot Framework Language Server plugin That's my run configuration for one test. enter image description here
0
votes
1 answer

How to save a test run config as default in Pycharm?

Currently for any test run, I have to keep adding the options --keepdb -v2 to the testrun configuration as below snapshot How to save this as default for next test run? p.s. The google search leads to limitted helpful post here. Search on our…
Nam G VU
  • 33,193
  • 69
  • 233
  • 372
0
votes
1 answer

Pass Variables from one Visual Studio Test Task to Another in Azure Pipeline through multiple agents

I have couple of unit tests in the project which are dependent to one another. After one test runs, i will capture the output, wait for it to synchronize in another system and perform another test using the output of the first test. I am trying to…
0
votes
1 answer

Why don't I get code coverage results for C++/CLI project in Visual Studio 2010?

I've recently upgrade my solution to Visual Studio 2010. I have 4 projects I want to cover using unit tests - 3 C# and 1 C++/CLI. I get coverage for the C# projects but not for the C++/CLI project. I did get for all of them in Visual Studio…
0
votes
2 answers

When working with MSTest, how to deploy a test data folder to the TestResults directory?

When working with MSTest, how to deploy a test data folder to the TestResults directory? In my UnitTests project, I have a TestData folder containing some xml files as test data. I've updated the ci.testrunconfig so that it deploys the TestData…
The Light
  • 26,341
  • 62
  • 176
  • 258