Name Date Size #Lines LOC

..--

annotation_include_dep/H25-Apr-2025-187107

binary_without_entrypoint/H25-Apr-2025-12471

binary_without_entrypoint_per_file_generation/H25-Apr-2025-10063

dependency_resolution_order/H25-Apr-2025-23181

different_packages_in_same_namespace/H25-Apr-2025-9428

directive_python_default_visibility/H25-Apr-2025-294200

directive_python_label_convention/H25-Apr-2025-6045

directive_python_label_normalization/H25-Apr-2025-10269

directive_python_test_file_pattern/H25-Apr-2025-216144

directive_python_test_file_pattern_bad_glob/H25-Apr-2025-2910

directive_python_test_file_pattern_no_value/H25-Apr-2025-3412

directive_python_visibility/H25-Apr-2025-11679

disable_import_statements_validation/H25-Apr-2025-5416

dont_rename_target/H25-Apr-2025-5216

file_name_matches_import_statement/H25-Apr-2025-8821

first_party_dependencies/H25-Apr-2025-282135

first_party_file_and_directory_modules/H25-Apr-2025-27797

from_imports/H25-Apr-2025-326117

generated_test_entrypoint/H25-Apr-2025-9235

ignored_invalid_imported_module/H25-Apr-2025-8931

invalid_annotation_exclude/H25-Apr-2025-418

invalid_annotation_include_dep/H25-Apr-2025-429

invalid_imported_module/H25-Apr-2025-8036

monorepo/H25-Apr-2025-702276

multiple_tests/H25-Apr-2025-10642

naming_convention/H25-Apr-2025-27086

naming_convention_binary_fail/H25-Apr-2025-4913

naming_convention_library_fail/H25-Apr-2025-4913

naming_convention_test_fail/H25-Apr-2025-4913

per_file/H25-Apr-2025-12243

per_file_non_empty_init/H25-Apr-2025-8025

per_file_subdirs/H25-Apr-2025-18784

per_package_test_target_without_entry_point/H25-Apr-2025-9635

project_generation_mode/H25-Apr-2025-4318

project_generation_mode_with_test_entrypoint/H25-Apr-2025-4822

project_generation_mode_with_tests/H25-Apr-2025-4621

python_ignore_dependencies_directive/H25-Apr-2025-8330

python_ignore_files_directive/H25-Apr-2025-14220

python_target_with_test_in_name/H25-Apr-2025-11430

relative_imports/H25-Apr-2025-20261

remove_invalid_library/H25-Apr-2025-6037

respect_kind_mapping/H25-Apr-2025-12446

sibling_imports/H25-Apr-2025-4431

simple_binary/H25-Apr-2025-4711

simple_binary_with_library/H25-Apr-2025-13546

simple_library/H25-Apr-2025-4610

simple_library_without_init/H25-Apr-2025-4711

simple_test/H25-Apr-2025-11237

simple_test_with_conftest/H25-Apr-2025-23979

subdir_sources/H25-Apr-2025-39199

with_nested_import_statements/H25-Apr-2025-7723

with_std_requirements/H25-Apr-2025-5115

with_third_party_requirements/H25-Apr-2025-16157

with_third_party_requirements_from_imports/H25-Apr-2025-279190

README.mdH A D25-Apr-2025631 1310

README.md

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