• Home
Name Date Size #Lines LOC

..--

annotation_include_dep/04-Jul-2025-187107

binary_without_entrypoint/04-Jul-2025-12471

binary_without_entrypoint_per_file_generation/04-Jul-2025-10063

dependency_resolution_order/04-Jul-2025-23181

different_packages_in_same_namespace/04-Jul-2025-9428

directive_python_default_visibility/04-Jul-2025-294200

directive_python_label_convention/04-Jul-2025-6045

directive_python_label_normalization/04-Jul-2025-10269

directive_python_test_file_pattern/04-Jul-2025-216144

directive_python_test_file_pattern_bad_glob/04-Jul-2025-2910

directive_python_test_file_pattern_no_value/04-Jul-2025-3412

directive_python_visibility/04-Jul-2025-11679

disable_import_statements_validation/04-Jul-2025-5416

dont_rename_target/04-Jul-2025-5216

file_name_matches_import_statement/04-Jul-2025-8821

first_party_dependencies/04-Jul-2025-282135

first_party_file_and_directory_modules/04-Jul-2025-27797

from_imports/04-Jul-2025-326117

generated_test_entrypoint/04-Jul-2025-9235

ignored_invalid_imported_module/04-Jul-2025-8931

invalid_annotation_exclude/04-Jul-2025-418

invalid_annotation_include_dep/04-Jul-2025-429

invalid_imported_module/04-Jul-2025-8036

monorepo/04-Jul-2025-702276

multiple_tests/04-Jul-2025-10642

naming_convention/04-Jul-2025-27086

naming_convention_binary_fail/04-Jul-2025-4913

naming_convention_library_fail/04-Jul-2025-4913

naming_convention_test_fail/04-Jul-2025-4913

per_file/04-Jul-2025-12243

per_file_non_empty_init/04-Jul-2025-8025

per_file_subdirs/04-Jul-2025-18784

per_package_test_target_without_entry_point/04-Jul-2025-9635

project_generation_mode/04-Jul-2025-4318

project_generation_mode_with_test_entrypoint/04-Jul-2025-4822

project_generation_mode_with_tests/04-Jul-2025-4621

python_ignore_dependencies_directive/04-Jul-2025-8330

python_ignore_files_directive/04-Jul-2025-14220

python_target_with_test_in_name/04-Jul-2025-11430

relative_imports/04-Jul-2025-20261

remove_invalid_library/04-Jul-2025-6037

respect_kind_mapping/04-Jul-2025-12446

sibling_imports/04-Jul-2025-4431

simple_binary/04-Jul-2025-4711

simple_binary_with_library/04-Jul-2025-13546

simple_library/04-Jul-2025-4610

simple_library_without_init/04-Jul-2025-4711

simple_test/04-Jul-2025-11237

simple_test_with_conftest/04-Jul-2025-23979

subdir_sources/04-Jul-2025-39199

with_nested_import_statements/04-Jul-2025-7723

with_std_requirements/04-Jul-2025-5115

with_third_party_requirements/04-Jul-2025-16157

with_third_party_requirements_from_imports/04-Jul-2025-279190

README.mdD04-Jul-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