Azure / Azure/azure-sdk-tools

Write tests for New-TestResources

Open
#1,550 0 comments 0 reactions 1 assignee Claimed by @heaths View on GitHub
EngSys
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 2h
Merged PRs (30d)
130

Description

After various changes to fix some issues, we've accidentally regressed some scenarios for _New-TestResources.ps1_ and friends. We need some battery of basic tests to make sure that doesn't keep happening.

We can use Pester, which ships with PowerShell (no install-time dependencies then) to drive it, and should test common automation and developer scenarios, including in non-Azure SDK subs or even outside the Microsoft tenant, though I don't believe the tenant really makes a difference in this case - just access to subs for an SP. If we had to, though, we could create an MSA but maintaining it's active status could be a hassle.

/cc @benbp @pakrym @weshaggard

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.