2
0
Fork 0
mirror of https://github.com/bazelbuild/bazel-skylib synced 2024-11-28 08:43:51 +00:00
bazel-skylib/tests
Kevin Kress 7270e3b345
Add support for 'loading' unit tests, which evaluate a LOADING phase. (#347)
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.
2022-02-10 16:03:48 -05:00
..
copy_file Use more portable #!/usr/bin/env bash shebang instead of hardcoded /bin/bash. (#329) 2021-10-25 09:12:41 -04:00
diff_test Use more portable #!/usr/bin/env bash shebang instead of hardcoded /bin/bash. (#329) 2021-10-25 09:12:41 -04:00
native_binary
run_binary Use more portable #!/usr/bin/env bash shebang instead of hardcoded /bin/bash. (#329) 2021-10-25 09:12:41 -04:00
select_file Add license and copyright notice (#245) 2020-04-15 12:57:49 +02:00
write_file Use more portable #!/usr/bin/env bash shebang instead of hardcoded /bin/bash. (#329) 2021-10-25 09:12:41 -04:00
analysis_test_test.sh Use more portable #!/usr/bin/env bash shebang instead of hardcoded /bin/bash. (#329) 2021-10-25 09:12:41 -04:00
BUILD Depend on bzl_library, not on individual bzl files (#244) 2020-04-03 16:54:55 +02:00
build_test_tests.bzl Address lint errors (#254) 2020-06-19 19:49:52 +02:00
collections_tests.bzl
common_settings_test.sh Use more portable #!/usr/bin/env bash shebang instead of hardcoded /bin/bash. (#329) 2021-10-25 09:12:41 -04:00
dicts_tests.bzl
new_sets_tests.bzl
partial_tests.bzl Enable unittest.suite to accept partial calls of test rules (#276) 2020-11-12 21:04:39 -05:00
paths_tests.bzl Add absolute path tests for Windows (#230) 2020-02-06 11:54:31 -05:00
selects_tests.bzl Fix linter warnings with new buildifier version. (#349) 2022-02-10 14:50:56 -05:00
shell_tests.bzl Use more portable #!/usr/bin/env bash shebang instead of hardcoded /bin/bash. (#329) 2021-10-25 09:12:41 -04:00
structs_tests.bzl
types_tests.bzl Add types.is_set() to test whether an arbitrary object is a set as defined by new_sets.bzl. (#181) 2019-09-17 10:21:44 -04:00
unittest.bash Use more portable #!/usr/bin/env bash shebang instead of hardcoded /bin/bash. (#329) 2021-10-25 09:12:41 -04:00
unittest_test.sh Use more portable #!/usr/bin/env bash shebang instead of hardcoded /bin/bash. (#329) 2021-10-25 09:12:41 -04:00
unittest_tests.bzl Add support for 'loading' unit tests, which evaluate a LOADING phase. (#347) 2022-02-10 16:03:48 -05:00
versions_tests.bzl