[ https://issues.apache.org/jira/browse/AVRO-3522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17540645#comment-17540645 ]
ASF subversion and git services commented on AVRO-3522: ------------------------------------------------------- Commit 2c13cd7e6d6d7485e1cdf93c9777f7d2ccae7558 in avro's branch refs/heads/master from Martin Grigorov [ https://gitbox.apache.org/repos/asf?p=avro.git;h=2c13cd7e6 ] AVRO-3522: Better logging in tests (#1690) * AVRO-3522: Use ctor crate to setup/teardown tests Use TestLogger for all tests. Now it delegates to env_logger too Signed-off-by: Martin Tzvetanov Grigorov <mgrigo...@apache.org> * AVRO-3522: Improve the README Signed-off-by: Martin Tzvetanov Grigorov <mgrigo...@apache.org> * AVRO-3522: Give better names to some methods Signed-off-by: Martin Tzvetanov Grigorov <mgrigo...@apache.org> * AVRO-3522: Make LOG_MESSAGES module-private Signed-off-by: Martin Tzvetanov Grigorov <mgrigo...@apache.org> * AVRO-3522: Add ASL2 to the new files Signed-off-by: Martin Tzvetanov Grigorov <mgrigo...@apache.org> * AVRO-3522: Use pretty_assertions for better diffs when assertions fail Signed-off-by: Martin Tzvetanov Grigorov <mgrigo...@apache.org> > Rust: Setup better logging and colored stacktraces for the tests > ---------------------------------------------------------------- > > Key: AVRO-3522 > URL: https://issues.apache.org/jira/browse/AVRO-3522 > Project: Apache Avro > Issue Type: Improvement > Components: rust > Reporter: Martin Tzvetanov Grigorov > Assignee: Martin Tzvetanov Grigorov > Priority: Minor > Labels: pull-request-available > Time Spent: 40m > Remaining Estimate: 0h > > 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. -- This message was sent by Atlassian Jira (v8.20.7#820007)