{"id":13672315,"url":"https://github.com/dbrgn/tracing-test","last_synced_at":"2025-04-04T13:09:08.795Z","repository":{"id":37931724,"uuid":"307648814","full_name":"dbrgn/tracing-test","owner":"dbrgn","description":"Access and evaluate tracing logs in async and sync tests.","archived":false,"fork":false,"pushed_at":"2024-06-02T16:29:00.000Z","size":51,"stargazers_count":70,"open_issues_count":21,"forks_count":28,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T12:06:59.658Z","etag":null,"topics":["async","rust","testing-tools","tracing"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbrgn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-27T09:30:41.000Z","updated_at":"2025-03-18T20:38:51.000Z","dependencies_parsed_at":"2024-06-18T22:56:04.532Z","dependency_job_id":"e54aa077-a5e2-4f17-8d1a-b622ca9928c1","html_url":"https://github.com/dbrgn/tracing-test","commit_stats":{"total_commits":43,"total_committers":10,"mean_commits":4.3,"dds":0.5581395348837209,"last_synced_commit":"5d645cb8ef31aee22023c4590b6ee14cbe7577a5"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Ftracing-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Ftracing-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Ftracing-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Ftracing-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbrgn","download_url":"https://codeload.github.com/dbrgn/tracing-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247182354,"owners_count":20897379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","rust","testing-tools","tracing"],"created_at":"2024-08-02T09:01:32.116Z","updated_at":"2025-04-04T13:09:08.767Z","avatar_url":"https://github.com/dbrgn.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# tracing-test\n\n[![Build status][workflow-badge]][workflow]\n[![Crates.io Version][crates-io-badge]][crates-io]\n[![Crates.io Downloads][crates-io-download-badge]][crates-io-download]\n\nThis crate provides an easy way to enable logging in tests that use\n[tracing](https://tracing.rs/), even if they're async. Additionally, it adds a\nway to assert that certain things were logged.\n\nThe focus is on testing the logging, not on debugging the tests. That's why the\nlibrary ensures that the logs do not depend on external state. For example, the\n`RUST_LOG` env variable is not used for log filtering.\n\nSimilar crates:\n\n- [test-log](https://crates.io/crates/test-log): Initialize loggers before\n  running tests\n- [tracing-fluent-assertions](https://crates.io/crates/tracing-fluent-assertions):\n  More powerful assertions that also allow analyzing spans\n\n## Docs / Usage / Example\n\nSee \u003chttps://docs.rs/tracing-test/\u003e.\n\n## License\n\nCopyright © 2020-2023 Threema GmbH, Danilo Bargen and Contributors.\n\nLicensed under either of\n\n * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or\n   http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or\n   http://opensource.org/licenses/MIT) at your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n\n\n\u003c!-- Badges --\u003e\n[workflow]: https://github.com/dbrgn/tracing-test/actions?query=workflow%3ACI\n[workflow-badge]: https://img.shields.io/github/actions/workflow/status/dbrgn/tracing-test/ci.yml?branch=main\n[crates-io]: https://crates.io/crates/tracing-test\n[crates-io-badge]: https://img.shields.io/crates/v/tracing-test.svg?maxAge=3600\n[crates-io-download]: https://crates.io/crates/tracing-test\n[crates-io-download-badge]: https://img.shields.io/crates/d/tracing-test.svg?maxAge=3600\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbrgn%2Ftracing-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbrgn%2Ftracing-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbrgn%2Ftracing-test/lists"}