Azure / Azure/azure-powershell

Enable use of multiple tenants in test framework

Open
#7,114 0 comments 0 reactions 0 assignees View on GitHub
Azure PS Team potential-pruning Test Debt
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

Currently, the test framework only supports a single tenant in the connection string, which prevents some tests, such as [`TestVirtualNetworkPeeringCRUD`](https://github.com/Azure/azure-powershell/blob/preview/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkTests.cs#L57-L63), from being recorded.

Need to investigate how we can enable this scenario in the test framework.

Contributor guide

Open the contributing guide

Research direction

Start with ScenarioTests/VirtualNetworkTests.cs and the TestVirtualNetworkPeeringCRUD scenario referenced in the issue. Trace how the test framework handles the connection string and recording, then determine what is needed for multiple tenants; done means that scenario can be recorded successfully with more than one tenant.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.