home recent topics recent posts search faq  

Pretty Objects Visual T# Forum



register | lost password   open id sign in with Twitter
Messages in this topic - RSS

Home » T# Visual Studio Integration » Suggestion: Having a Test Results Docked Panel

Conversations on the Integration of T# into Visual Studio
8/19/2008 10:10:08 AM

mikecomeau
mikecomeau
Posts: 13
Suggestion:

Having a Test Results Docked Panel integrated in Visual Studio.

What i have in mind is something very lean, that show's a test name and a red/orange/green status icon. If i want more information about a failed test, i could alway hover and get a tooltip, or right click and get a menu with actions like "Go to Test source", "Go to Code Source" etc. It could also be a treeview or grouped view that has class names tested then each test under it.

I know its a major feature and i don't expect this to show soon, but i think this would make a difference when compared to other unit testing environments as it would give us very quick visual feedback on what's left to implement or fix.

Thank you
0 permalink
8/22/2008 9:40:07 AM

Ludovic Dubois
Ludovic Dubois
Administrator
Posts: 159
If you run your tests directly from the source editor, you have the results ini the output pane and you can double-click the error line to go to the error location in the source code.

If you add your tests in the GUI test runner, and run them, you will have the expected status icons (4 status icons: red=test fails, orange=test fails before run test so test is wrong, yellow=test is ignored, and green=test succeeds). You will then have, in the right part, the detailed information on the failing tests (the ones corresponding to the selected node in the tree).
Error source location is underlined and if you click on the hyperlink to "Go to Code Source" feature.

To access this functionality, look at the "T#" contextual menu in the solution explorer.
0 permalink
8/25/2008 9:11:06 AM

mikecomeau
mikecomeau
Posts: 13
Hi Ludovic,

Maybe what i meant was that the T# Runner could have a lean view (Name/Icon only) and be in a dockable panel inside of VStudio. The purpose i see to this is that i believe its easier to look at color coded stuff than trying to visually parse the T# Compiler Output.

Also note that this is a suggestion, not a request.
0 permalink
8/28/2008 7:05:10 AM

Ludovic Dubois
Ludovic Dubois
Administrator
Posts: 159
You can do this with a right click on the title bar of the T# Runner.

Unfortunately, we ask VS to do this by default and it does not work! We have to investigate, but it is not a high priority issue.
0 permalink
8/29/2008 6:44:31 AM

mikecomeau
mikecomeau
Posts: 13
You're right Ludovic,

For some reason i was under the impression that the T# Runner was a separate executable window. Great work on this one.

It would still be interesting to have a different view where we get only the test name and a status indicator and maybe have complete result details as a tooltip or as a bottom section panel like the properties window will show description in a lower portion of its window.

None the less, i'm really impressed with what's there already, i'd never be able to do anything that impressive.
0 permalink
8/29/2008 10:50:56 AM

Ludovic Dubois
Ludovic Dubois
Administrator
Posts: 159
Thanks for your comment.

In fact, you can run it from Visual Studio or as a separate executable window. It is the same window smile

We will see later for a Test Explorer.

But, you can make the T# Runner Dockable and put it anywhere you want.
You have the status shown with colors, and you can put T# Runner in a small place enough to see the Tree (tests), not the ListView (details)
0 permalink
9/19/2008 4:11:15 PM

mikecomeau
mikecomeau
Posts: 13
Ooops,

Had forgotten to reply here.

Once again, you were right, that does what i needed.

Thank you !
0 permalink

Home » T# Visual Studio Integration » Suggestion: Having a Test Results Docked Panel





Powered by Jitbit Forum 7.2.14.1 © 2006-2011 Jitbit Software