My Unit Test Source Info is being displayed side by side, rather than below the tests:
How do move it so the Test Display is below the tests, rather than beside it?
Interesting, when I actually am debugging a Unit Test, the Test Explorer shows up correctly:
If Test Explorer is not visible, choose Test on the Visual Studio menu, choose Windows, and then choose Test Explorer (or press Ctrl + E, T). As you run, write, and rerun your tests, the Test Explorer displays the results in a default grouping of Project, Namespace, and Class.
View Tests and Test Lists in Test Explorer If the Test Explorer pane is not opened in your Visual Studio, you can access this as follows: in Visual Studio 2015 and 2017 - Test -> Windows -> Test Explorer; in Visual Studio 2019 and later - Test -> Test Explorer; or use keyboard shortcut Ctrl + E, T.
Visual Studio 2019 version 16.3 and earlier To specify a run settings file in the IDE, select Test > Select Settings File. Browse to and select the . runsettings file. The file appears on the Test menu, and you can select or deselect it.
It's a very crazy design of VS. I have to try many ways to see why this happens. And finally, this causes by the wrapping up design. There is a line to separate the result and the test when you dock it, take a look at the pictures:
What I have found is that Visual Studio automatically decides where to place the divide for this window. You can test this out by undocking the Test Explorer window and then dragging the corner around to resize it. I'm not certain what the ratio is but the details area will snap around either at the bottom or to the right side somewhere around the window being about 1.5 times taller than wider.
This was tested with the community edition of VS 2013. Maybe the "higher" editions allow you to configure this but it doesn't look like the lower editions let you. Hope that helps!
Using 2019 Community Edition, I was able to undock and achieve this.
Then I put the undocked item back into my main IDE window and it remained like that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With