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

Edited Issue: Bug in organization of tests by file [1160]

$
0
0
*Update*

I was wrong to say that one is not able to organise tests by file: this is possible when right-clicking on the test explorer and selecting "Group By" >> "Class".

However, there is a bug in this. When the file name contains a dot then only the latter part of it is picked up, for example, all our tests are organised in files labelled "foo.test.ts", "bar.test.ts".

The test explorer ignores the first part of the file name (foo and bar) and lists these as "test (3)" and "test (2)" etc.




*Old issue - ignore*

Hi,

NTVS Version: 14-May Dev Build
VS Version: 2013 Ultimate Update 3 RC


At present all tests in the Test Explorer are listed directly under the project in which they are defined, for example:

MyTestProject (30)
* mytest_one
* mytest_two
* ...
* mytest_thirty

This will soon run into scalability problems. It would be nicer if the tests could be optionally organised as:

MyTestFileOne (2)
* mytest_one
* mytest_two

MyTestFileTwo (5)
* mytest_one
* mytest_two
* ...
* mytest_five

where the tests are listed under the files in which they are defined.







Viewing all articles
Browse latest Browse all 4630

Trending Articles