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

Make stable link to latest execution report #507

Closed
therealryan opened this issue Aug 15, 2023 · 0 comments · Fixed by #559
Closed

Make stable link to latest execution report #507

therealryan opened this issue Aug 15, 2023 · 0 comments · Fixed by #559
Labels
enhancement New feature or request java Pull requests that update Java code

Comments

@therealryan
Copy link
Contributor

therealryan commented Aug 15, 2023

Execution reports are saved in a timestamped directory. While this is the safe position (execution reports are useful information that we shouldn't overwrite by default), it's kind of a pain to work with - iterating on a test will create a profusion of reports, so you might end up looking at a historic report rather than the latest one and it's not going to be particularly obvious from the URL.
You can change the destination directory via a system property to something stable, but then you're in the danger zone of overwriting reports.

A convenient middle ground would be to continue writing to timestamped directories, but to also create a symbolic link with a stable name to the latest report.

Bear in mind #495

@therealryan therealryan added enhancement New feature or request java Pull requests that update Java code labels Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request java Pull requests that update Java code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant