Groups | Blog | Home
all groups > visual studio .net general > may 2007 >

visual studio .net general : Result for test is "Not Executed" - why?



Eric Smith
5/26/2007 12:46:02 PM
I've had several occasions where a bunch of tests in an MS Test project
report a result of "Not Executed". What causes that?

The tests are not disabled. No information about why a test wasn't executed
seems to be available. If I try to view the test result details a message box
just says "The test has not been executed."

I've seen this running from the IDE as well as the command line. Usually
when it happens I flounder about for a while, rebuilding the whole solution,
shutting down Visual Studio, etc. and eventually the tests seem to start
running again.

Can anyone point me to some documentation or something so I can know
precisely what is going on and avoid the floundering?

Thanks,
Eric Smith
6/28/2007 10:48:01 AM
It looks like one cause for a test being reported as "Not Executed" may be
when an exception is thrown in the test's constructor.

[quoted text, click to view]
AddThis Social Bookmark Button