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

Format logging output to be more readable #32

Open
michaeltryby opened this issue Oct 19, 2023 · 0 comments
Open

Format logging output to be more readable #32

michaeltryby opened this issue Oct 19, 2023 · 0 comments

Comments

@michaeltryby
Copy link

Request reformatting of log output to terminal to make it easier to read and provide runtime info and test summary.

I was thinking of something like this.

INFO: Found 10 tests
INFO: Test    #1:  CoS-Reduced-Inlets ................  pass    1.986 sec
INFO: Test    #2:  CoS-Reduced-Outlets ...............  pass    2.291 sec
INFO: Test    #3:  Example 1 .........................  pass    0.060 sec
INFO: Test    #4:  Example 2 .........................  pass    0.031 sec
INFO: Test    #5:  Example 3 .........................  pass    0.620 sec
INFO: Test    #6:  Example 4 .........................  fail
Example 4: Output file not generated: "lid_ITS1.txt"
INFO: Test    #7:  Example 5 .........................  pass    0.011 sec
INFO: Test    #8:  Example7-Final ....................  pass    0.062 sec
INFO: Test    #9:  Example7-Inlets ...................  pass    0.058 sec
INFO: Test   #10:  Storage_Shape_Test ................  pass    0.010 sec

INFO:  90% tests passed, 1 tests failed out of 10
INFO:  Total Test time (real) =   5.13 sec

I will submit a PR for you to consider. Thanks!

@michaeltryby michaeltryby changed the title Improve logging output to be more useful Improve logging output to be more readable Oct 19, 2023
@michaeltryby michaeltryby changed the title Improve logging output to be more readable Format logging output to be more readable Oct 19, 2023
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

No branches or pull requests

1 participant