feat: add file_basename_equals, file_extension_in matchers

These come from some of experience from porting the cc rules to use
rules_testing

* Also moves the matcher tests into their own file because the
  truth_tests.bzl file is getting large.
* Also switches the matcher tests to be basic tests, since they don't
  really require a target graph to be setup.

Fixed #44
4 files changed
tree: 35aabb92d43618c34aff0dba8f9259a688e1e929
  1. .bazelci/
  2. .bcr/
  3. .github/
  4. docgen/
  5. docs/
  6. e2e/
  7. lib/
  8. tests/
  9. .bazelignore
  10. .bazelrc
  11. .gitignore
  12. .readthedocs.yaml
  13. addlicense.sh
  14. AUTHORS
  15. BUILD
  16. CODEOWNERS
  17. CONTRIBUTING.md
  18. dev_extension.bzl
  19. LICENSE
  20. MODULE.bazel
  21. README.md
  22. RELEASING.md
  23. WORKSPACE.bazel
  24. WORKSPACE.bzlmod
README.md

Buildstatus

Framworks and utilities for testing Bazel Starlark

rules_testing provides frameworks and utilities to make testing Starlark code easier and convenient.

For detailed docs, see the docs website