Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mock Clients for VMSS, VMAS, and VM #19839

Closed
Bryce-Soghigian opened this issue Jan 18, 2023 · 1 comment
Closed

Mock Clients for VMSS, VMAS, and VM #19839

Bryce-Soghigian opened this issue Jan 18, 2023 · 1 comment
Labels
needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team.

Comments

@Bryce-Soghigian
Copy link

Feature Request

For the VMSS and VMAS clients it would be nice to have a set of mock interfaces. Currently trying to test some functionality and basically the easiest way to test is I have to build a mock client for the

VirtualMachineScaleSetsClient, err := armcompute.NewVirtualMachineScaleSetsClient(SubscriptionID, credential, &armConfig)
	VirtualMachineScaleSetVMsClient, err := armcompute.NewVirtualMachineScaleSetVMsClient(SubscriptionID, credential, &armConfig)

I have notices that everyone ends up implementing their own mocks for this code and was wondering when the team plans on adding them into the sdk for people to use.

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jan 18, 2023
@jhendrixMSFT
Copy link
Member

This work is tracked in #16613 where you can see the current thinking (feel free to add any input on the design thus far).

While I can't commit to a specific timeline, this is high on my list of priorities, and I hope to have a beta out relatively soon.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team.
Projects
None yet
Development

No branches or pull requests

2 participants