tags
and target_compatible_with
can now be set on tests themselves. This allows skipping tests based on platform or filtering out tests using --test_tag_filters
(#43)truth.bzl#subjects
. This allows direct creation of subjects without having to go through the expect.that_*
functions. This makes it easier to implement custom subjects. (#54)matching.file_basename_equals
for matching a File basename. (#44)matching.file_extension_in
for matching a File extension. (#44)DictSubject.get
for fetching sub-values within a dict as subjects. (#51)CollectionSubject.transform
for arbitrary transforming and filtering of a collection. (#45)//lib:analysis_test.bzl#test_suite
: use //lib:test_suite.bzl#test_suite
instead. The name in analysis_test.bzl
will be removed in a future release.NOTE: This version is broken with bzlmod
in_order()
checked. (#29)