Skip to content

Framework upstream 2: Rename test files to match folder conventions and add structure validation#7

Open
eerxuan wants to merge 1 commit intodocumentdb:mainfrom
eerxuan:pr/rename-tests-structure-validation
Open

Framework upstream 2: Rename test files to match folder conventions and add structure validation#7
eerxuan wants to merge 1 commit intodocumentdb:mainfrom
eerxuan:pr/rename-tests-structure-validation

Conversation

@eerxuan
Copy link
Contributor

@eerxuan eerxuan commented Mar 20, 2026

Rename test files to include parent folder name per naming convention:

  • test_basic_queries.py -> test_find_basic_queries.py
  • test_projections.py -> test_find_projections.py
  • test_query_operators.py -> test_find_query_operators.py
  • test_capped_collections.py -> test_capped_collections_create.py
  • test_group_stage.py -> test_aggregate_group_stage.py
  • test_match_stage.py -> test_aggregate_match_stage.py

Add framework/test_structure_validator.py to enforce naming rules at collection time via pytest_collection_modifyitems in conftest.py.

…ation

Rename test files to include parent folder name per naming convention:
- test_basic_queries.py -> test_find_basic_queries.py
- test_projections.py -> test_find_projections.py
- test_query_operators.py -> test_find_query_operators.py
- test_capped_collections.py -> test_capped_collections_create.py
- test_group_stage.py -> test_aggregate_group_stage.py
- test_match_stage.py -> test_aggregate_match_stage.py

Add framework/test_structure_validator.py to enforce naming rules at
collection time via pytest_collection_modifyitems in conftest.py.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant