ashley-taylor / junit-report-annotations-action

Create an annotation of the build information and also list first n failed tests as seporate annotations
12 stars 29 forks source link

Clicking on annotation should redirect user to test in error #7

Open TurpIF opened 4 years ago

TurpIF commented 4 years ago

Hello,

This merely a feature request rather than an actual issue. It would be nice if user can use the generated annotation to jump directly into the code that caused the failure.

How-to reproduce

Current behavior

User is redirected to the commit diff: https://github.com/ashley-taylor/junit-report-annotations-action-example/commit/2e617cb05da7068e339afd841e25db11471fa929#annotation_266613757

Expected behaviour

User is redirected to the line where the failure come from, in the tested commit: https://github.com/ashley-taylor/junit-report-annotations-action-example/blob/2e617cb05da7068e339afd841e25db11471fa929/src/test/java/github/ashley/taylor/example/SampleTest.java#L22

orestesgaolin commented 4 years ago

That would be awesome to have!