-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Show message in HTML report when source file can't be found #801
Show message in HTML report when source file can't be found #801
Conversation
@Godin Showing this hint when the source file cannot be found at the specified location is a good idea! But what if users do not provide source file at all (e.g. because they don't have it). In this case the same message would still be included in the report. |
@marchof I don't think that this little hint will bother such users. |
@Godin In this case there are more common problems where we can add a hint to report:
I would prefer to put the checks and message construction to a seperate, testable class |
@marchof baby steps, I was planning to add these via follow-up PRs 😉
Did I get it right - you just wanna pull entire |
…le_can_not_be_found
@Godin I haven't thought about the design in detail. My idea is to encapsulate the checks and the creation of warnings (as html elements) in a separate class. So for example the hint for missing line information can be shown on different page types. |
@marchof I agree with idea 👍 Other than simple |
BTW should be noted that there are actually three cases of
|
One of common problems already described in our FAQ and still frequently faced by users - incorrect location of source files, which leads to absence of pages with sources in HTML report:
So I propose to add following message to a page with class methods