Framework upstream 1: Restructure into documentdb_tests/ package with core/ test hierarchy#4
Merged
nitinahuja89 merged 1 commit intodocumentdb:mainfrom Mar 20, 2026
Conversation
seoc01
approved these changes
Mar 17, 2026
alaye-ms
approved these changes
Mar 20, 2026
nitinahuja89
approved these changes
Mar 20, 2026
Collaborator
|
Docker image build is failing - Can you please fix that. |
nitinahuja89
requested changes
Mar 20, 2026
Collaborator
nitinahuja89
left a comment
There was a problem hiding this comment.
Please fix the docker build failure
09ebfc6 to
770b904
Compare
nitinahuja89
approved these changes
Mar 20, 2026
4dc3567 to
148b9b6
Compare
Move all source files under documentdb_tests/ top-level package and
reorganize tests into the core/ folder structure following the MongoDB
documentation hierarchy.
Structure:
documentdb_tests/
conftest.py
pytest.ini
framework/ # Shared testing framework
compatibility/
result_analyzer/ # Test result analysis tools
tests/
core/
collections/capped_collections/
operator/stages/{group,match}/
query-and-write/commands/{find,insert}/
File moves (no content changes beyond import paths):
- framework/ -> documentdb_tests/framework/
- result_analyzer/ -> documentdb_tests/compatibility/result_analyzer/
- tests/collection/ -> tests/core/collections/capped_collections/
- tests/aggregate/ -> tests/core/operator/stages/{group,match}/
- tests/find/ -> tests/core/query-and-write/commands/find/
- tests/insert/ -> tests/core/query-and-write/commands/insert/
Add docs/testing/FOLDER_STRUCTURE.md documenting the layout.
Signed-off-by: Yunxuan Shi <yunxuan@amazon.com>
148b9b6 to
e6a43c5
Compare
nitinahuja89
approved these changes
Mar 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move all source files under documentdb_tests/ top-level package to make the package a python module.
Reorganize tests into the core/ folder structure following the MongoDB documentation hierarchy.
File moves (no content changes beyond import paths):
Add docs/testing/FOLDER_STRUCTURE.md documenting the layout.