Skip to content

[bazel] Separate test helper code from actual tests.#6053

Merged
ml86 merged 2 commits into
masterfrom
markus/separateTestCode
Jun 26, 2026
Merged

[bazel] Separate test helper code from actual tests.#6053
ml86 merged 2 commits into
masterfrom
markus/separateTestCode

Conversation

@ml86

@ml86 ml86 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

We needed to depend on scala_test targets and thus bring in tons of
individual test code to get a minor amount of helper code for tests.
Rearranged code so that we can define separate packages for the helper
code and only use that as dependencies.

Also made all scala_test targets only package visible to reduce
likelihood of people importing them. Add build fail on visibility
been set for scala_test targets for enforcement of this.

ml86 added 2 commits June 26, 2026 12:25
…ing.

We needed to depend on `scala_test` target and thus bring in tons of
individual test code to get a minor amount of helper code for tests.
Rearranged code so that we can define separate package for the helper
code and only use that as dependencies.

Also made all `scala_test` targets only package visible to reduce
likelihood of people importing them.
@ml86 ml86 requested a review from maltek June 26, 2026 10:38
@ml86 ml86 merged commit 45e345d into master Jun 26, 2026
8 checks passed
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