[GODRIVER-1151] Impelement interfaces on top of client Created: 19/Jun/19 Updated: 24/Jun/19 Resolved: 24/Jun/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Soren Ludwig | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
In trying to implement unit tests in one of our services, we discovered that MongoDB Go Driver didn't have interfaces implemented on top. Due to that, we aren't able to mock out mongodb client calls, and can only test via integration testing. The improvement we are looking for is implementation of interfaces over functionality. |
| Comments |
| Comment by Kristofer Brandow (Inactive) [ 24/Jun/19 ] |
|
Hi nobugsonlyfeatures, this is something we are working on. For further insight be refer to |