[SERVER-18846] Make libraries out of various aggregation components, convert dbtests to unit tests Created: 05/Jun/15  Updated: 05/Feb/16  Resolved: 20/Jul/15

Status: Closed
Project: Core Server
Component/s: Aggregation Framework, Testing Infrastructure
Affects Version/s: 3.1.3
Fix Version/s: 3.1.6

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: James Cohan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Quint Iteration 5, Quint Iteration 6
Participants:

 Description   

If we convert DocumentSourceCommandShards to a mock stage simply output documents one after the other, we could make some unit tests for accumulators, expressions, document sources, etc.



 Comments   
Comment by Githook User [ 11/Aug/15 ]

Author:

{u'username': u'jamesfcohan', u'name': u'James Cohan', u'email': u'james.cohan@10gen.com'}

Message: SERVER-18846 Removing unused dbtests/accumulatortests.cpp
Branch: master
https://github.com/mongodb/mongo/commit/ac4450e7e2102705a8667ac43540689b998b9b60

Comment by Githook User [ 20/Jul/15 ]

Author:

{u'username': u'jamesfcohan', u'name': u'James Cohan', u'email': u'james.cohan@10gen.com'}

Message: SERVER-18846: Converts DocumentSourceTests into unit tests
Branch: master
https://github.com/mongodb/mongo/commit/75a73c76f2304e89ab9f7e611f9ba82a07de520e

Comment by Charlie Swanson [ 26/Jun/15 ]

Did not mean to close this. We still have work to do related to this. Namely, james.cohan is working on creating a mock document source to convert document souce's dbtests to unit tests.

Comment by Githook User [ 26/Jun/15 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

Message: SERVER-18846 Make libraries out of various aggregation components
Branch: master
https://github.com/mongodb/mongo/commit/13f81c12ac8f77fa85f4f2c2b4942ee42ac2cc4f

Generated at Thu Feb 08 03:48:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.