No announcements
Filter
:
All Threads
All Threads
Answered
Unanswered
Proposed Answers
General Discussion
No Replies
Helpful
Has Code
All Languages
-
Unanswered0VotesGetting Coded UI Test Result Failure Message during TestCleanup()
Hi, In my TestCleanUp() method i'm trying to output the details of each test method into my own database. Some of the key information that I need is the ClassName, Method Name, ... -
Unanswered0Voteshow can i handle unhandled exception in data driven test
Hi, I implemented a data driven test and found an issue that: if there is an unhandled Win32 exception happened (native code is called in the test) when testing one data row, the ... -
Unanswered0VotesDLL not getting copied in the out directory when using services account
Hi, I am facing an issue while running my test as few of my test requires a particular dll(Microsoft.AnalysisServices.dll) which is not getting copied in ... -
Unanswered0VotesCode Coverage Coloring
Options > Environment > Fonts and Colors there is no Display item called Coverage (as I understand there should be). In the Code coverage result pane, pressing the Show color ... -
Unanswered0VotesHow to test method with lots of Select Case
= 89.5D Return "A+" End Case -
Answered0VotesIs there a way to tell the test explorer to run tests in a multithreaded COM apartment?
I am using a Visual C++ Native unit test project and running my tests in Test Explorer. I'm trying to test code that expects COM to have been initialized using ... -
Unanswered0VotesUnitTestIsolationException runing from Commandline using vstest.console.exe
vstest.console.exe "ComponentA.dll" "ComponentB.dll" /Settings:"Some.runsettings" /EnableCodeCoverage /Logger:trx And here is the stack ... -
Answered0VotesCannot create Shim/Stub for the generic class
Hi, I am trying to create a stub/shim to a generic class that one of the types it gets is a struct. public abstract class ... -
Answered0VotesIs there way to get solution directory from unit test?
Hello, after updating to vs2012 update 2 unit tests are started from %temp%\TestResults\... and not from $(SolutionDir)\TestResults\... like before. I need write ... -
Unanswered0VotesUnity container couldn't resolve dependencies in VS 2012 when running unit tests.
I can't run unti tests. In Visual Studio 2012 (in VS 2010 it works ok). The issue is that unity container could not load configuration and resolve dependencies. It is ... -
Unanswered0VotesFakes : System.Globalization
Hi, for some reason I would like to fake System.Globalization namespace but Fakes does not generate any Stubs nor ... -
Answered3VotesHow to attach data source at class initialize in Unit Test in C#?
i am writing Data driven unit tests in C#. I want to attach data source at class level so that all the test will run for set of inputs. Some how the problem is with the TestContext property ... -
Answered1VotesIs Microsoft.VisualStudio.TestTools.CppUnitTestFramework based on CppUnit in any way?
My team is evaluating C++ unit test frameworks, we will be moving to Visual Studio 2012 in the next 6 - 8 months, are currently on Visual Studio 2010. As the ... -
Proposed0VotesVS2010 Unit Test, Test Results Error Message field always blank
I add message strings to my Asserts, but they do not show up in Unit Test Test Results Error Message field. I catch Exceptions e and use Assert.Fail(e.message); and still ... -
Answered0VotesXML data driven tests - using XPath in DataSource parameter tableName
Hello, I'm trying to filter out the tests that are executed based on some condition in my datasource file (which is XML). I'm trying to use a XPath expression in tableName ... -
Answered0VotesData Driven unit test
I am trying to run some test with different values each time. For example: I have3 methods: methodA methodB and methodC. I want to run each method twice with ... -
Unanswered0Votes"Not part of the payload" error when compiling unit tests with Visual Studio 2012
I am using Visual Studio 2012 (Update 2), and suddenly all my Windows Store unit tests fail to compile with the same error: error APPX0703: Manifest references file ... -
Answered0VotesAnyone help with this error "IUnitTestStorage.Open should be called before operation can continue."
I am working on a SharePoint project happily working away when I started getting some strange errors, including this, when I try to run some unit tests. It just stops building and running and at the ... -
Answered0VotesUnit tests marked with HostType attribute are not appearing in LoadTest wizard
Hi, I have created unit tests for a web service using VS 2012. Unit test code got automatically generated and they are decorated with "HostType" as 'ASP.Net' ... -
Answered0VotesLoad test result shows "In Progress" after test aborted by calling LoadTest.Abort()
I was using Visual Studio 2010 with SQL database for my load tests. I wrote code in plugin to call LoadTest.Abort(exception) in LoadTest.TestFinished event when test ran after some ... - Items 1 to 20 of 1078 Next ›


