Closed matthewjh closed 2 months ago
While I can fix that particular error, I found that a wrapped test_suite
no longer runs any tests. This isn't too surprising as test_suite
is a deeply magical built-in rule and Bazel doesn't really support targets that depend on tests.
Could you instead try to transition the individual tests?
This may be doable after https://github.com/bazelbuild/bazel/issues/14993.
This can be worked around by transitioning the individual tests instead and wrapping them into a test_suite
via a helper macro, see https://github.com/fmeum/with_cfg.bzl/tree/main/examples/java_test_suite_multiple_jdks for an example.
I will close this as "not planned" since I don't think there is anything that can be done without Bazel changes. The test I linked documents the best workaround I'm aware of.
Thanks @fmeum, really enjoying this package so far. I am trying to use it on
test_suite
as I want to run the "same" tests under different configs.Given...
and...
This happens: