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

test: add tracing-test crate for non-publishable test utils #2466

Merged
merged 5 commits into from
Nov 7, 2023

Conversation

hds
Copy link
Contributor

@hds hds commented Feb 8, 2023

Motivation

There has been interest around publishing tracing-mock to crates.io
for some time. In order to make this possible, it needs to be cleaned up.

Solution

There are some test utils in the tracing-mock crate which wouldn't
make sense to publish. They provide test futures that are needed in
multiple tracing-* crates, but would likely not be needed outside that
context.

This change moves that functionality into a separate tracing-test
crate, which should never be published to crates.io.

Refs: #539

@hds hds requested review from hawkw, davidbarsky and a team as code owners February 8, 2023 22:27
There are some test utils in the `tracing-mock` crate which wouldn't
make sense to publish. They provide test futures that are needed in
multiple `tracing-*` crates, but would likely not be needed outside that
context.

This change moves that functionality into a separate `tracing-test`
crate, which should never be published to crates.io.
tracing-test/README.md Outdated Show resolved Hide resolved
tracing-test/README.md Outdated Show resolved Hide resolved
hds and others added 2 commits October 31, 2023 18:32
@hds hds merged commit 91ca0e0 into master Nov 7, 2023
56 checks passed
@hds hds deleted the hds/tracing-test branch November 7, 2023 10:36
hds added a commit that referenced this pull request Nov 7, 2024
There has been interest around publishing tracing-mock to crates.io
for some time. In order to make this possible, it needs to be cleaned up.

There are some test utils in the `tracing-mock` crate which wouldn't
make sense to publish. They provide test futures that are needed in
multiple `tracing-*` crates, but would likely not be needed outside that
context.

This change moves that functionality into a separate `tracing-test`
crate, which should never be published to crates.io.

Refs: #539

Co-authored-by: David Barsky <me@davidbarsky.com>
hds added a commit that referenced this pull request Nov 7, 2024
There has been interest around publishing tracing-mock to crates.io
for some time. In order to make this possible, it needs to be cleaned up.

There are some test utils in the `tracing-mock` crate which wouldn't
make sense to publish. They provide test futures that are needed in
multiple `tracing-*` crates, but would likely not be needed outside that
context.

This change moves that functionality into a separate `tracing-test`
crate, which should never be published to crates.io.

Refs: #539

Co-authored-by: David Barsky <me@davidbarsky.com>
hds added a commit that referenced this pull request Nov 20, 2024
There has been interest around publishing tracing-mock to crates.io
for some time. In order to make this possible, it needs to be cleaned up.

There are some test utils in the `tracing-mock` crate which wouldn't
make sense to publish. They provide test futures that are needed in
multiple `tracing-*` crates, but would likely not be needed outside that
context.

This change moves that functionality into a separate `tracing-test`
crate, which should never be published to crates.io.

Refs: #539

Co-authored-by: David Barsky <me@davidbarsky.com>
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

Successfully merging this pull request may close these issues.

2 participants