🎯 Problem Statement
Currently, the tree view groups by folder name. With nested folders, this can get messy very quickly. It would be helpful if the tests were organized by the name of the suite/test only.
💡 Proposed Solution
Add a config option to switch between grouping by folder & grouping by test/suite title.
🖥️ Your Setup
| Item |
Value |
| Operating System |
Fedora Linux 44 + Linux 7.1.4 |
| Shell |
bash |
| Project Framework |
Node.js |
| Test Framework |
node:test |
| Project Type |
lib/module |
| IDE |
VSCode |
| VSCode Version |
1.130.0 |
| Extension Version |
0.4.148 |
📸 Screenshots or Examples
Instead of showing 7 levels...
example
- src
- lib
- utils
- engine
- bar-a.test.ts
- bar-b-test.ts
...just show 3 levels.
example
For context, here is the imaginary file tree:
src/
├── cli/
└── lib/
├── utils/
│ ├── foo.ts
│ └── foo.test.s
└── engine/
├── bar.ts
├── bar-a.test.ts
├── bar-b.test.ts
└── bar-c.test.ts
💡 Additional Context
Related to #462
🎯 Problem Statement
Currently, the tree view groups by folder name. With nested folders, this can get messy very quickly. It would be helpful if the tests were organized by the name of the suite/test only.
💡 Proposed Solution
Add a config option to switch between grouping by folder & grouping by test/suite title.
🖥️ Your Setup
📸 Screenshots or Examples
Instead of showing 7 levels...
example
...just show 3 levels.
example
For context, here is the imaginary file tree:
💡 Additional Context
Related to #462