Debug.WriteLine ignored in Unit Tests (in Run mode)
I may be misinterpreting this, but it seems that Unit Tests ran from R# ignore the Debug.WriteLine statements within those unit tests.
When tests are Run from either the code window (by clicking on the side glyph and choosing "Run ") or the Unit Test Runner window by clicking the green Play arrow, any Debug.WriteLine statement are not displayed in the Debug window.
However, if tests are run in let's call it R# UT debug mode (by either selecting "Debug " or by clicking the Bug button in the UTR window), Debug.WriteLine statements correctly get displayed to the Debug window.
Can anybody else confirm this situation?
Thanks.
Please sign in to leave a comment.
"Philip Mateescu" <philip.mateescu@datacert.com> wrote in message
news:28069239.1150748678168.JavaMail.itn@is.intellij.net...
>I may be misinterpreting this, but it seems that Unit Tests ran from R#
>ignore the Debug.WriteLine statements within those unit tests.
>
Hmmm...there isn't a Debug window, per se, is there? There's the Output
window, and you'd need to select the correct option from the Show output
from: pulldown.
///ark
Mark,
Yes, by "Debug window" I meant "Output window filtered by Debug messages".