Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Commented Feature: Display test outcome on same window as test runner [796]

$
0
0
Hi,

**NTVS version**: NTVS Dev 2014-02-07 VS 2013.msi
**VS Version**: Visual Studio 2013 Ultimate.


At present when a test completes there is a link "Output" which needs to be clicked in order to display the outcome of the test. This opens a separate window.

This additional step interferes with the typical workflow of write test case -> run test -> edit test -> run test and so on.

It would be ideal if the Standard Output and Standard Error are displayed in the same output panel of the test runner (just below the section that currently contains the "Output" link).

Thanks.
Comments: @RickWinter, Perhaps the issue has been misunderstood. I don't quite agree that the same behaviour is seen in all other languages. I created the following tests: __C#__ ```C# [TestMethod] public void Foo_test() { Assert.IsTrue(1 == 1, "This should pass"); Assert.IsTrue(1 == 2, "This should fail"); } ``` __JavaScript__ ```JavaScript var assert = require('assert'); function foo_test(){ assert.ok(1 === 1, 'This should pass'); assert.ok(1 === 2, 'This should fail'); } exports.foo_test = foo_test; ``` I've attached a screenshot of the test output. Notice that in the C# tests both the assertion message and the stack trace are displayed in the test runner window. For the NTVS test this is not the case.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>