This allows customizing what attributes are considered a target under test,
i.e. that they have aspects, config settings, etc applied. This allows having
multiple targets be tested, which is useful for comparing targets in different
configurations, multiple targets with a custom configuration, or some combination
of that.
When this is used, the implementation function is passed a struct of the
targets under test, keyed by their attribute name, instead of the singular
target under test.
feat: allow custom target-under-test attributes
This allows customizing what attributes are considered a target under test, i.e. that they have aspects, config settings, etc applied. This allows having multiple targets be tested, which is useful for comparing targets in different configurations, multiple targets with a custom configuration, or some combination of that.
When this is used, the implementation function is passed a struct of the targets under test, keyed by their attribute name, instead of the singular target under test.
Fixes https://github.com/bazelbuild/rules_testing/issues/67