fuchsia_unittest_package

A wrapper around fuchsia_test_package which doesn't require components.

This rule allows users to construct a fuchsia_test_package without having to create components for each test. This allows users to take a dependency on a rule like fuchsia_cc_test directly.

It is up to the author of the rule being depended on to craft the rule in a way that it exposes the generated test component to this rule. The convention is that a unit_test target must also create a fuchsia_test_component which has the name .unittest_component.

See fuchsia_test_package for additional arguments.

PARAMETERS

Name Description Default
name This target name. -
unit_tests The unit_test targets. These targets must have a generated
fuchsia_test_component with the name <name>.unittest_component.
-
kwargs Arguments to forward to the fuchsia_test_package. -