Add $addToSet accumulator tests#239
Conversation
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (test-coverage, test-framework); effort from diff stats (1868+0 LOC, 10 files); LLM: Adds new integration test coverage for the $addToSet accumulator operator under the compatibility tests path, expanding functional test coverage for a core operator. If a label is wrong, remove it manually and ping |
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Add tests: arity error tests, BSON constant tests, expression tests, order dependence tests. Removed tests. Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
|
applied #214 (review): Add tests: arity error tests, BSON constant tests, expression tests, order dependence tests. Removed |
eerxuan
left a comment
There was a problem hiding this comment.
Use framework.test_constants (FLOAT_NAN, DECIMAL128_INFINITY, etc.) for consistency with sibling tests.
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Removed duplicate test as well Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
alinaliBQ
left a comment
There was a problem hiding this comment.
Addressed comments
This change adds tests for the $addToSet accumulator operator.
Add accumulator operator tests for $addToSet. Tests database $addToSet behavior, output collection, syntax, and expected errors.
Integration tests are in
documentdb_tests/compatibility/tests/core/operator/accumulators/test_accumulators_ addToSet_integration.py