feat(l1): polish test reports with timestamps and formatting #4770
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
The EF state tests runner currently generates reports in the root directory with static filenames (
success_report.txt
andfailure_report.txt
), which makes it difficult to track different test runs and compare results over time. Additionally, failure reports useplain text formatting that can be hard to read when debugging test failures.
Description
This PR polishes the test reports for the EF state tests runner by implementing the following improvements:
reports/
directory that is automatically created if it doesn't existYYYY-MM-DD_HH-MM-SS
(e.g.,failure_report_2025-10-03_14-30-45.txt
), making it easy to identify and compare different test runsprettytable-rs
to display test information and errors in formatted tables, significantly improving readabilitymake clean-reports
command to easily delete all generated reportsreports/
directory to prevent generated reports from being committedThese changes make it easier to debug failing EF tests by providing better-organized, timestamped, and more readable reports.
Closes #3886