i'm currently working on a task in a project. We have many Test-Projects in the solution reprository, which are using the DeploymentItem() attribute(a ...
i'm currently working on a task in a project. We have many Test-Projects in the solution reprository, which are using the DeploymentItem() attribute(a ...
I have some SpecFlow tests in a "SpecFlowTests" project in VS to run and they need some test data files. I was using a .testsettings file to deploy th ...
A lot of people struggle with relative path in DeploymentItem. The relative path is from Solution Folder. This can only apply when run from Visual Stu ...
I am using MS unit testing framework for testing my C# library. I have to open a file which I'm deploying using DeploymentItem attribute. But it is no ...
I have some data driven unit tests that were working just fine in Visual Studio 2010. These tests were implemented using the following pattern. [Test ...
As the title says - I can't find a way of including a file with a windows store test project. (A standard .NET test project works fine) Right click o ...
I want to deploy all files in folders which are in a directory within a unit-test. To deploy eacht item through the DeploymentItem-Attribut is too muc ...
I want to add a deployment item to my test. My solution structure looks like: I’ve tried to add the file with the following attribute: …what do ...
I am using DeploymentItems to deploy test files. I was wondering if it was possible to change the name of the deployed file in the deployed location i ...
I would like to get rid of some duplication in this code. Following the DRY principle. As you can see, the name of the file/deploymentItem is repeated ...
nice day! I have following project structure: In my test file following method: In according to http://msdn.microsoft.com/en-us/library/ms18247 ...
I have a VS2010 solution that I'm trying to upgrade to VS2012. I'm having a problem with the MSTest unit tests in VS2012. All of the tests include De ...
How do I include an unmanaged assembly with the running of a Linqpad query? I am running the latest beta (v4.42.06). I have added a reference to a wo ...
I have two unit test projects in my VS 2010 solution. Each project has a Data directory with input data needed for the unit tests. I annotated the te ...
I've been browsing through stackoverflow reading other questions about MSTest and DeploymentItem; I've followed all the advice, but nothing has worked ...
I want to add an deployment item to my test. As far as I understood up until now, the path is relative to the solution. I want the path to be relative ...
consider the following test class: Depending on the order in which these tests are run they might pass but since there is no guarantee that they wi ...
I can't seem to grasp how MSTest deployment items are supposed to be configured. I have been able to get them working properly by modifying the projec ...
I have a number of test classes and methods that copy a particular directory like so: Those tests are in a single assembly and all the files in the ...
I have found that DeploymentItem is not copying my test data files to the same location when tests are built and run on different machines. The te ...