0.8.0
New Features
- “Analysis Test” testing framework under unittest.bzl. See documentation for details. Some new feature highlights:
- Support for verifying rule-under-test failure conditions
- Support for verifying actions registered by a rule-under-test
- Support for verifying rule behavior under non-default bazel flags
analysis_test
rule to verify that targets under test pass Bazel’s analysis phase. This is similar to the existingbuild_test
rule, except that actions of the underlying targets are not executed. See documentation.write_file
rule to write UTF-8 encoded text files. (Works for bash platforms and Windows)copy_file
rule to copy a file to another location. (Works for bash platforms and Windows)dicts.add()
now accepts kwargs to add to the resulting dict.
This release is tested with Bazel 0.23
Thanks to the following external contributors:
- Dave Lee (@kastiglione): e9588ee
Please use the bazel-skylib.0.8.0.tar.gz
release asset from your Bazel WORKSPACE
.
SHA-256 digest: 2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e