Microsoft .NET Unit Testing Framework (MSTest)
5
votes
0answers
457 views
Output of Unit Tests running in VisualStudio
What I am trying to achieve is quite simple but I am probably missing something.
All I want is to INSTATNLY see my tests logging in the Console window, I have tried
Console.WriteLine(...)
I have ...
5
votes
0answers
468 views
mstest does not copy a library referenced in a project but is used at run-time only
I have a project that uses Microsoft Enterprise Library and uses configuration to specify a type for caching manager.
Loaded in this manner caching manager depends on a library ...
5
votes
0answers
530 views
How to use “deep” XML with MSTest XML Datasource
I'm having some problems with MSTest using an XML Datasource. Assume that I've got an XML file that looks like this:
<Users>
<User>
<Id>1</Id>
...
4
votes
0answers
312 views
Do I need a license to install VS 2010 premium or professional edition on a build server
We've got a few licenses for VS 2010 professional and Premium editions at work.
Do we need to buy an extra license to install VS on a build machine ??
Note: this is just to run some codedUI tests ...
4
votes
0answers
763 views
How to parallelize a Data-Driven unit test in Visual Studio 2010?
I know regular ms-test unit tests can be parallelized on a multi-core machine (with caveats of course) by specifying parallelTestCount attribute in the .testresults file in the test solution. Like ...
3
votes
0answers
266 views
Where does the console output go in Jenkins for .NET applications?
I am running some unit tests using MSTest and some of them print output to the console via Console.Write(). The output is not showing up in the usual Jenkins job log.
Where does the output show up ...
3
votes
0answers
292 views
Entity Framework June 2011 CTP And Unit Test Project
We have an MVC/EF project that we just upgraded to the June 2011 CTP. The web project is working great, the problem is, we can no longer reference it from the MSUnit project as it is targeting a newer ...
3
votes
0answers
499 views
MSTest /noisolation fails tests
If I use MSTest with the parameter /noisolation my tests fail, but without it they pass.
If I run MSTest without the parameter for the first time a ms office configuration box appears and configures ...
2
votes
0answers
10 views
Why DataDriven tests no longer run on Jenkins when using MSTest?
I have a suite of Webdriver tests which are written with C# and I am using MSTest as a runner. At this point NUnit is not an option, so I need to figure this out how to make it work with the current ...
2
votes
0answers
83 views
Running MSTest tests from C#
Is it possible to run all tests of a TestClass class using C# code only ? I found that it is possible to run tests using a command line tool called MSTest, but this is not what I am looking for.
I ...
2
votes
0answers
51 views
Any way to enable stacktraces in MsTest?
Sometimes I get errors in a MsTest run and there is to little context to track down the problem, for example:
<ErrorInfo>
<Message>Unit Test Adapter threw exception: Type is not ...
2
votes
0answers
106 views
How to get the name of the currently executing OrderedTest
I have some ordered tests containing test methods. Some test methods are used in multiple ordered tests.
<?xml version="1.0" encoding="UTF-8"?>
<OrderedTest name="orderedtest_A" ...>
...
2
votes
0answers
531 views
Assembly fails to load (EEFileLoadException) under MSTest
I am trying to resolve an EEFileLoadException in an MSTest scenario that combines managed and native code.
My application consists of a couple dozen DLLs: some native (unmanaged) C++, some C++/CLI, ...
2
votes
0answers
189 views
NCover (v3.4.18.6937) does not collect any coverage information when testing with Moles (v0.94) and MSTest (v10.0)
currently I am trying to get a code coverage with NCover for a MSTest assembly which uses Moles as Isolation framework. After hours of testing NCover does not gather any coverage information. I ...
2
votes
0answers
166 views
In MSTest tests in VS2010, is there a way to see the standard output in the output window while debugging them?
Sometimes when I'm writing unit tests, I want to debug the test and see the standard output (console output?) as I'm stepping through the code. In my case, my ORM is generating sql queries and showing ...