[
https://issues.apache.org/jira/browse/SUREFIRE-2090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17564666#comment-17564666
]
Björn Raupach edited comment on SUREFIRE-2090 at 7/10/22 10:44 AM:
-------------------------------------------------------------------
Hi there,
not sure where the communication takes place. I went ahead and [opened a
PR|https://github.com/apache/maven-surefire/pull/555] at GitHub.
Pretty much did what [~michael-o] suggested and updated the test cases.
was (Author: raupach):
Hi there,
not sure where the communication takes place. I went ahead and [opened a
PR|[[SUREFIRE-2090] - Xref link to source code with specified line number
doesn't work. Missing "L" in anchor by raupachz · Pull Request #555 ·
apache/maven-surefire
(github.com)|https://github.com/apache/maven-surefire/pull/555]] at GitHub.
Pretty much did what [~michael-o] suggested and updated the test cases.
> Xref link to source code with specified line number doesn't work. Missing "L"
> in anchor
> ---------------------------------------------------------------------------------------
>
> Key: SUREFIRE-2090
> URL: https://issues.apache.org/jira/browse/SUREFIRE-2090
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Surefire Report Plugin
> Affects Versions: 3.0.0-M6
> Reporter: Lau Brino
> Priority: Minor
> Labels: up-for-grabs
>
> Steps to reproduce:
> # Have a Java Maven project setup
> # In pom.xml, configure maven-surefire-report-plugin together with
> maven-jxr-plugin:3.2.0 in <reporting> section
> # have a failed test in you project.
> # generate html surefire report with xrefs to source code
> # in that report locate failed test with link to test source code
> Expected behavior:
> Clicking on the link bring you to the exact line is test source where the
> test failed.
> Actual behavior:
> The link works, but the line number is ignored.
>
> The link on surefire report looks like this
> .../target/site/xref-test/com/soliteapay/portal/cloudterminal/CloudTerminalIT.html#121
> However correct URL looks like this
> .../target/site/xref-test/com/soliteapay/portal/cloudterminal/CloudTerminalIT.html#L121
> (notice the "L" right after #)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)