Associated Automation not showing Tests in Visual Studio 2013 - visual-studio-2013

I have the following problem where Associated Automation not showing tests.
The project has been checked in and the Unit Tests show up fine on Test Explorer
When I query and search for a Test Case in TFS then attempt to link a Unit Test to the Test case via the associate button, nothing appears in the Choose Test window.
Any help please?

Related

Unit Tests show in Test Explorer but won't run in Visual Studio (2013 & 2015)

I have several ms unit test projects in my solution, when I go to Test Explorer all the unit test projects show up in the list:
When I hit "Run All" there is only one project that is discovered and run.
I can execute the other projects by selecting them individually and hitting "Run Selected Tests" but the Test Projects will not execute together automatically.
These tests use to run fine in the solution but have stopped within the last month or so running when "Run All" is used.
Thanks for any help!
I am using Visual Studio 2015 and faced the same problem few days back - when I clicked on 'Run All', all my Coded UI Tests ran but not my Unit/Integration Tests. Looking at your screenshot, it seems like you are facing the same problem where none of your 264 Unit Tests ran.
In my case -- Clearing my Temp files, resolved the problem for me.
Go to your START Menu and type %temp%
Once your Temp folder opens up, just delete all the contents.
Now go to your Visual Studio IDE, and from your Test Explorer window - click on 'Run All'
You should now see all the test projects(Coded UI, Unit Tests) being identified and executed.
Let me know if this does not solve your problem.

visual studio ultimate 2013 run single test then code coverage

So I created a few test methods for very simple code and when I right click and run each test separately, they all pass. Then I click "Analyze code coverage for all tests" and one of the tests is failing. Nothing has been changed in between these two actions (no save, no build, no touching of the code). What could cause this? Are there some settings that I need to be aware of?

MSTest in VS2010 - How to launch all loadtests in a single step

In the new team I work for we use a lot of unit tests, we use MSTest in VS2010.
I have prepared about 10 loadtest to use these unit tests in various ways. How do you launch all the loadtest (randomly or with a specified order)?
I'm having trouble how to get the standard VS environment to do this.
Or maybe there is a plugin to add to Visual Studio?
Open the Test View window, by selecting Tests --> Windows --> Test View
In the Test View, select Group By: Test Type.
Right click on the Load Test category and Run Selection.

Visual Studio Cannot Scan/Find MSTest Methods

I converted a project with nunit tests, so that it had mstests instead. It compiles, and when I right click on the project, I can select "run unit tests." It works, and the tests execute successfully.
However, I cannot see my tests in either the "Test List Editor" or the "Test View." I've tried:
selecting the "refresh" button in both those lists
rebuilding the solution
re-starting visual studio
Activated background discovery (I do have VS 2010 SP1, and resharper)
None of these, alone or in combination, has worked. What else can be tried, to force Visual Studio fully to recognize these tests?
The answer, I found, is that I must convert a class library to an MsTest project.
Also make sure that your test class is public, I spent almost one day trying to figure out why the MS test frame can't discover my test until I modified the access modifier from the default to public

Debugging code that's being tested in Visual Studio 2010

I am having some problems with a given test, that I'd like to debug the code that is being tested, while the test runs.
Is this possible?
If yes, how can I just debug this one test? I can only see options for running or the whole solution, or the whole set of tests in the current context or all impacted tests. I'd like to just run this one test, if possible!
I'm running Visual Studio 2010.
Put a breakpoint in the test and run the test with debug - use the test explorer to select just that test and "run selected".
See this MSDN page (How to: Run Automated Tests from Microsoft Visual Studio).

Resources