## build_test
build_test(name, targets, kwargs)
Test rule checking that other targets build. This works not by an instance of this test failing, but instead by the targets it depends on failing to build, and hence failing the attempt to run this test. NOTE: At the moment, this won't work on Windows; but someone adding support would be welcomed. Typical usage: ``` load("@bazel_skylib//rules:build_test.bzl", "build_test") build_test( name = "my_build_test", targets = [ "//some/package:rule", ], ) ``` ### Parameters
name required.

The name of the test rule.

targets required.

A list of targets to ensure build.

kwargs optional.

The common attributes for tests.