[SERVER-8773] Write automated tests for stored procedures Created: 27/Feb/13 Updated: 08/May/15 Resolved: 08/May/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript, MapReduce, Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ben Becker | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Write automated tests that ensure stored procedures can be loaded in $where queries, MapReduce, db.eval() and the shell. |
| Comments |
| Comment by Ben Becker [ 27/Feb/13 ] |
|
Note that where4.js seems to create a server-side script, but doesn't actually execute or test it. slowNightly/memory.js tests a stored procedure, but only via db.eval(). Might make sense to add multiple scope types to this test. For MapReduce, it would be ideal to make sure the test succeeds in the map, reduce and finalize scopes. |