Skip to content

ref(tests): No integration test crate for shared logic - #1320

Merged
szokeasaurusrex merged 1 commit into
masterfrom
szokeasaurusrex/shared-integration-test-logic
Sep 15, 2026
Merged

szokeasaurusrex merged 1 commit into
masterfrom
szokeasaurusrex/shared-integration-test-logic

Conversation

@szokeasaurusrex

@szokeasaurusrex szokeasaurusrex commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

The tracing and opentelemetry integrations' integration tests each had a module with "shared" test logic. However, as this module appeared directly under tests/ as tests/shared.rs, it was also recognized as an integration test crate, even though it contains no tests, and should not be compiled as a separate integration test crate.

By moving tests/shared.rs to tests/shared/mod.rs, we prevent these modules from being recognized as separate test crates, while still allowing them to be used as modules from other integration tests.

The tracing and opentelemetry integrations' integration tests each had a module with "shared" test logic. However, as this module appeared directly under `tests/` as `tests/shared.rs`, it was also recognized as an integration test crate, even though it contains no tests, and should not be compiled as a separate integration test crate.

By moving `tests/shared.rs` to `tests/shared/mod.rs`, we prevent these modules from being recognized as separate test crates, while still allowing them to be used as modules from other integration tests.
@szokeasaurusrex
szokeasaurusrex marked this pull request as ready for review September 15, 2026 13:49
@szokeasaurusrex
szokeasaurusrex requested a review from a team as a code owner September 15, 2026 13:49
@szokeasaurusrex
szokeasaurusrex merged commit abecd69 into master Sep 15, 2026
33 checks passed
@szokeasaurusrex
szokeasaurusrex deleted the szokeasaurusrex/shared-integration-test-logic branch September 15, 2026 15:37
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