-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bootstrap test resources when running tests (#23652)
* Bootstrap test resources when running tests. * PR FB * PR FB * Fix text * PR FB * Check for playback * Check CI
- Loading branch information
1 parent
8383d49
commit 5728315
Showing
2 changed files
with
112 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. | ||
|
||
param( | ||
[string] $ServiceDirectory | ||
) | ||
$run = Read-Host "The resources needed to run the live tests could not be located.`nWould you like to run the resource creation script? [y/n]" | ||
if ($run -eq 'y'){ | ||
& "$PSScriptRoot\..\common\TestResources\New-TestResources.ps1" $ServiceDirectory | ||
|
||
Read-Host "Press enter to close this window and resume your test run." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters