[SERVER-9836] Add assert.docEq Created: 31/May/13  Updated: 11/Jul/16  Resolved: 31/May/13

Status: Closed
Project: Core Server
Component/s: JavaScript, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.5.1

Type: Improvement Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Scott Hernandez (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-7174 Implement all update() operators Closed
Related
related to SERVER-9835 Add tests for jstest assert functions Backlog
Backwards Compatibility: Fully Compatible
Participants:

 Description   

This should allow us to do field order independent comparison of docs (both javascript objects and bson returned ones).

This is needed for the new update framework.



 Comments   
Comment by auto [ 31/May/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-9836: add assert.docEq – check for nulls or undefined
Branch: master
https://github.com/mongodb/mongo/commit/4d664821926be0666af5861ba87be007633ff68e

Comment by auto [ 31/May/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-9836: add assert.docEq
Branch: master
https://github.com/mongodb/mongo/commit/1e872f9b62ca1f83e7878be0395554fa9cb776fc

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