Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html-formatter: Users encounter file names instead of feature names #81

Open
cowang opened this issue Apr 8, 2021 · 2 comments
Open

Comments

@cowang
Copy link

cowang commented Apr 8, 2021

Users are looking for features to review on the test-results web page, but the page is a list of file names to click on. These file names can be lengthy and are mangled if any spaces or special characters occur in them, making it difficult to find the specific feature that programmers want to review, much less non-technical users. This is especially a problem when the path to the feature files is long.

Ideally, feature names would be listed instead of file names, or before them.

If the programmers/testers use readable and complete file names, alternatives would be to list the file name before the path or highlight the file name so that it can be found over on the right-hand side.

ADDED INFO

You can see an example of a web page that is currently produced at https://truej-lang.org/TestResults/ReadyFeatures.html

It is important to preserve the ability to order the list of features. They currently seem to be ordered alphabetically by the full path name. Also, having the full path name may be useful to programmers may help them locate the feature that they wish to inspect.

I am using cucumber-jvm:6.10.2 and cucumber-java:6.10.2, and I don't know if this is a problem with languages other than Java.

@aslakhellesoy
Copy link
Contributor

I assume you are talking about Cucumber's built-in html formatter and https://reports.cucumber.io ?

@cowang
Copy link
Author

cowang commented Apr 9, 2021

I assume you are talking about Cucumber's built-in html formatter and https://reports.cucumber.io ?

No, I don't think so. I'm talking about (in Gradle):
args = [ '--plugin', 'html:build/reports/tests/cucumber/...]

I'm using 6.10.2 of cucumber-java and cucumber-junit.

You can see an example of the web page produced at https://truej-lang.org/TestResults/ReadyFeatures.html

@davidjgoss davidjgoss transferred this issue from cucumber/common Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants