Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3522

Rust: Setup better logging and colored stacktraces for the tests

    XMLWordPrintableJSON

Details

    Description

      Extract the custom TestLogger (that collects and asserts on the logs) used in types.rs into a new module/crate so that it could be reused everywhere.

      An additional improvement that could be made is to add env_logger as a delegate to it so that it also logs to stderr.

       

      Use ctor crate to simulate before_all/after_all.

      Attachments

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              mgrigorov Martin Tzvetanov Grigorov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m