the important difference is that the tree formatter supports line and column fields. They can be used to find out exactly where the suite or test is declared in the file. It will be used in vscode extension.
The same output is supported via API - testCollection.format(<type>)
What is done
Implement ability to read tests using cli command
npx testplane list-tests
which support options like for run tests:The formatter supports 2 values: list (default) and tree. When using
list
user get plain list of unique tests, example:The same data in
tree
formatter looks like:the important difference is that the
tree
formatter supportsline
andcolumn
fields. They can be used to find out exactly where the suite or test is declared in the file. It will be used in vscode extension.The same output is supported via API -
testCollection.format(<type>)