mirror of
https://github.com/bazelbuild/bazel-skylib
synced 2024-11-28 08:43:51 +00:00
7270e3b345
This is a relatively simple addition to unittest that statically creates rules that either explicitly fail or not depending on if the test case is valid during LOADING phase of bazel. The test conditions are evaluated entirely in loading phase, but if we want an actual test to fail rather than just `fail()` killing the build, we can use this to assert state and report test failures. |
||
---|---|---|
.. | ||
copy_file | ||
diff_test | ||
native_binary | ||
run_binary | ||
select_file | ||
write_file | ||
analysis_test_test.sh | ||
BUILD | ||
build_test_tests.bzl | ||
collections_tests.bzl | ||
common_settings_test.sh | ||
dicts_tests.bzl | ||
new_sets_tests.bzl | ||
partial_tests.bzl | ||
paths_tests.bzl | ||
selects_tests.bzl | ||
shell_tests.bzl | ||
structs_tests.bzl | ||
types_tests.bzl | ||
unittest.bash | ||
unittest_test.sh | ||
unittest_tests.bzl | ||
versions_tests.bzl |