You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When working with many feature files in projects that follow a hierarchical directory structure (as recommended in Cucumber's blog on organizing feature files), the current Tree View in Cluecumber becomes difficult to navigate because it does not reflect the structure beyond the feature/scenario grouping, making it more challenging to locate specific functionality or understand the organization of the test suite.
Example of a folder structure:
Describe the solution you'd like
Support for Multiple Levels of Hierarchy in the Tree View:
Add an option to reflect the directory hierarchy of feature files in the Tree View.
Optionally exclude shared base paths (e.g., /features/) via configuration (or automaticallt detect shared base paths).
Readable Directory Names:
Automatically format directory names into readable headings (using a configurable strategy, similar to DisplayNameGenerator in JUnit 5):
Convert snake_case to Snake Case (replace underscores with spaces and capitalize each word).
Format camelCase or PascalCase into Camel Case or Pascal Case.
Optionally support a configurable replacement map for custom naming.
Optional: Markdown Support for Living Documentation:
Allow index.md files in the feature file folder structure to act as headings and descriptions:
Use the first-level heading (#) from the markdown file as the folder name in the Tree View.
Display markdown content as part of the report to provide richer documentation.
Caveat: Requires Cluecumber to have access to the actual folders instead of only consuming the reports JSON
Describe alternatives you've considered
Using separate tooling to build the structured overview of the test suite / living documentation instead of using the Tree View
Additional context
Made up example with some questionable formatting, but should help illustrate my point:
How do you currently address the challenge of organizing and navigating through many scenarios? Would this proposal align with your usage, and is it something you would consider?
The text was updated successfully, but these errors were encountered:
Thanks a lot for this detailed description. It sounds like an interesting feature.
Currently, all of our hundreds of features are only in one single hierarchy so we never faced this. But I can see why this makes sense for teams that follow this multi-folder approach.
Is your feature request related to a problem? Please describe.
When working with many feature files in projects that follow a hierarchical directory structure (as recommended in Cucumber's blog on organizing feature files), the current Tree View in Cluecumber becomes difficult to navigate because it does not reflect the structure beyond the feature/scenario grouping, making it more challenging to locate specific functionality or understand the organization of the test suite.
Example of a folder structure:
Describe the solution you'd like
Support for Multiple Levels of Hierarchy in the Tree View:
/features/
) via configuration (or automaticallt detect shared base paths).Readable Directory Names:
DisplayNameGenerator
in JUnit 5):snake_case
toSnake Case
(replace underscores with spaces and capitalize each word).camelCase
orPascalCase
intoCamel Case
orPascal Case
.Optional: Markdown Support for Living Documentation:
index.md
files in the feature file folder structure to act as headings and descriptions:#
) from the markdown file as the folder name in the Tree View.Describe alternatives you've considered
Additional context
Made up example with some questionable formatting, but should help illustrate my point:
How do you currently address the challenge of organizing and navigating through many scenarios? Would this proposal align with your usage, and is it something you would consider?
The text was updated successfully, but these errors were encountered: