Skip to content

Redirect test output to file and print reports in CI#1739

Open
velo wants to merge 1 commit intomainfrom
feature/redirect-test-output-to-file
Open

Redirect test output to file and print reports in CI#1739
velo wants to merge 1 commit intomainfrom
feature/redirect-test-output-to-file

Conversation

@velo
Copy link
Collaborator

@velo velo commented Dec 3, 2025

Summary

  • Configure Maven surefire/failsafe plugins to redirect test output to files (redirectTestOutputToFile=true in root pom.xml)
  • Add print-test-reports command to CircleCI that prints test output files with visual grouping
  • Integrate test report printing in all test jobs (unit-tests, integration-tests, container-e2e-test)

Test plan

  • Verify CircleCI jobs run successfully
  • Check that test output is captured in surefire-reports/*-output.txt files
  • Confirm print-test-reports step displays grouped output for each test

🤖 Generated with Claude Code

@codecov
Copy link

codecov bot commented Dec 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 13.75%. Comparing base (5455558) to head (42b02a6).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1739   +/-   ##
=========================================
  Coverage     13.75%   13.75%           
  Complexity      735      735           
=========================================
  Files           495      495           
  Lines         15322    15322           
  Branches       1817     1817           
=========================================
  Hits           2108     2108           
  Misses        13024    13024           
  Partials        190      190           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@velo velo force-pushed the feature/redirect-test-output-to-file branch 3 times, most recently from 24fb039 to 390127b Compare December 3, 2025 19:40
Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
@velo velo force-pushed the feature/redirect-test-output-to-file branch from 390127b to 42b02a6 Compare December 3, 2025 19:42
@velo velo requested a review from ferenc-csaky December 5, 2025 20:20
@ferenc-csaky
Copy link
Collaborator

I don't really like this shell script approach, but i have an idea about this, I'll create a PR tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants