Unit test runner

Hi,

I have got three remarks concerning the Unit test runner window.

1) When I restart VS2005, the unit test runner window has disappeared. I
have it docked and would like to see it at the same place the next time I
start VS.
2) When using the failed tab, it would be nice to see just as in the 'all'
tab, which test is running by a spinning icon.
3) New test methods do not appear in the unit test runner, when building
with the Build Solution command. I have to use the build command of the Unit
test runner to refresh the list of tests. Is it possible that the list is
refreshed after a Build Solution?

Regards,

Patrick


7 comments
Comment actions Permalink


another thingie with UnitTestRunner(utr).

When I've run a unittest and have the utr window up and then right click
and choose debug on the unittest. It usual fails.



Stian A Fagereng.


0
Comment actions Permalink

1) When I restart VS2005, the unit test runner window has disappeared. I
have it docked and would like to see it at the same place the next time I
start VS.


This is a known problem with all dockable tool windows :(

2) When using the failed tab, it would be nice to see just as in the 'all'
tab, which test is running by a spinning icon.


The absence of the "running...." icon on "Failed" tab is by design.
I think it willl be confusing when the this anu\imated icon will dispper on
running test which is not on the "Failed" tab

3) New test methods do not appear in the unit test runner, when building
with the Build Solution command. I have to use the build command of the
Unit test runner to refresh the list of tests. Is it possible that the
list is refreshed after a Build Solution?


Unfortunately, it is nearlly impossible.
This is because I can't catch the event when I can open the assembly for
reading (to reanalyze the tests list)

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

When I've run a unittest and have the utr window up and then right click
and choose debug on the unittest. It usual fails.


Please clarify. What do you mean by "fails"?

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Hello Eugene,

>> When I've run a unittest and have the utr window up and then right
>> click and choose debug on the unittest. It usual fails.
>>

Please clarify. What do you mean by "fails"?


When I tested now:

right click in code choose Run test. utr starts and runs test.
Later want to debug the test right click on test in utr or in code. utr window
dies.

I wrote the post because I gave up utr and started to use the NuNit gui when
debugging unit-tests.
I dont remember how utr failed when I gave it up. But it was not only that
the utr window died.

Guess you can trash my post until I come up with a better description of
my problem. :)



Stian A. Fagereng


0
Comment actions Permalink

As for me, I'm tired of reopening UTR window after debugging tests.
I start test debugging, and when debugging is stopped UTR window
disappears.

And I'd like to be able to run UTR in VS 2005 for projects compiled for
framework 1.1 (one of projects in solution is compiled using custom
MSBuild file, as result UTR shows no tests in it, despite they are
perfectly run with NUnit).

On Mon, 13 Feb 2006 13:39:13 +0500, Eugene Pasynkov (JetBrains)
<Eugene.Pasynkov@jetbrains.com> wrote:

>> When I've run a unittest and have the utr window up and then right click
>> and choose debug on the unittest. It usual fails.
>

Please clarify. What do you mean by "fails"?

>

0
Comment actions Permalink

Hello Serge,

this may relate to the fact that VS maintains different tool window configuration
for different IDE modes (which
include design, debugging and break).


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

As for me, I'm tired of reopening UTR window after debugging tests. I
start test debugging, and when debugging is stopped UTR window

disappears.



0
Comment actions Permalink

Maybe, but what's the way to avoid closing UTR window? How can I make VS
to remember that when debugging stops and it returns to design mode UTR
must be shown? When I was switching from design mode to debug mode it was
visible. It doesn't depend on whether test debugging starts from UTR
window or using icon against test code.

On Tue, 14 Feb 2006 23:15:59 +0500, Dmitry Shaporenkov
<dsha@jetbrains.com> wrote:

Hello Serge,

>

this may relate to the fact that VS maintains different tool window
configuration for different IDE modes (which
include design, debugging and break).
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>> As for me, I'm tired of reopening UTR window after debugging tests. I
>> start test debugging, and when debugging is stopped UTR window
>> disappears.
>>
>
>

0

Please sign in to leave a comment.