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

Edited Issue: ExportRunner does not fail any tests [1391]

$
0
0
I just opened work item #1390 but it turns out the problem is more endemic.

The following (TypeScript) test

```TypeScript
import assert = require('assert');

export function test() {

assert.strictEqual('foo', 'bar', 'this is green');
}
```

should obviously fail but shows up as green on the Test Explorer.

The console output has the following

```
Test Name: test
Test Outcome: Passed
Result StandardOutput: NTVS_ERROR:TestFramework (ExportRunner) threw an exception processing (test), AssertionError: this is green
```

Basically all tests are green irrespective of whether they are broken or not. I hope this gets fixed as a priority as the test harness is unusable as it stands.

Thanks.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



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