Add aggregate command tests#221
Conversation
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (test-coverage, test-framework); effort from diff stats (11743+10 LOC, 44 files); LLM: Adds new test coverage for the If a label is wrong, remove it manually and ping |
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
|
Added a few more tests for collation based on work in #225. There are some aspects of collation that make more sense in this directory as they are part of the command syntax rather than collation behavior. |
Remove collation subfield/semantic tests (covered in collation/), writeConcern fsync/getLastError/provenance tests (undocumented options), namespace naming rules (common spec), and thorough view tests (covered in collections/views/). Add collection type acceptance tests. Keep only command-specific syntax validation. Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
486f12d to
0ec5bc4
Compare
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
The comment field accepts any BSON type, which is already covered by test_aggregate_comment_types.py. Testing specific values within accepted types adds no compatibility signal. Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
This change adds tests for the
aggregatecommand.There is some overlap here with #191 as some of the framework changes are needed by both. I've included them here so they should merge cleanly.