xref: /aosp_15_r20/external/bazelbuild-rules_python/gazelle/python/testdata/README.md (revision 60517a1edbc8ecf509223e9af94a7adec7d736b8)
1# Gazelle Python extension test cases
2
3Each directory is a test case that contains `BUILD.in` and `BUILD.out` files for
4assertion. `BUILD.in` is used as how the build file looks before running
5Gazelle, and `BUILD.out` how the build file should look like after running
6Gazelle.
7
8Each test case is a Bazel workspace and Gazelle will run with its working
9directory set to the root of this workspace, though, the test runner will find
10`test.yaml` files and use them to determine the directory Gazelle should use for
11each inner Python project. The `test.yaml` file is a manifest for the test -
12check for the existing ones for examples.
13