Skip to content

How to easy fake cosmos client #19943

Open

Description

Feature Request

We are using azcosmos package to talk with CosmosDB. We are struggling with mock the cosmos client for unit test. I'm wonder if the azcosmos SDK could provide a easy way to mock.

I found a usefully example from Compute SDK as reference: https://github.com/Azure/azure-sdk-for-go/blob/fake_prototype/sdk/resourcemanager/compute/armcompute/README.md#fakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Azure.Corefeature-requestThis issue requires a new behavior in the product in order be resolved.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions