Skip to content

Format logging output to be more readable #32

Description

@michaeltryby

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!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions