Part of aspnet/Universe#575 |
||
|---|---|---|
| .. | ||
| Assets | ||
| AzureCollection.cs | ||
| AzureFixture.cs | ||
| CommandResult.cs | ||
| Directory.Build.props.template | ||
| Directory.Build.targets.template | ||
| LoggingInterceptor.cs | ||
| Microsoft.AspNetCore.AzureAppServices.FunctionalTests.csproj | ||
| NuGet.config.template | ||
| PathUtilities.cs | ||
| PerLoggerSink.cs | ||
| Program.cs | ||
| README.md | ||
| TemplateFunctionalTests.cs | ||
| TestCommand.cs | ||
| WebAppDeploymentKind.cs | ||
| WebAppExtensions.cs | ||
| global.json.template | ||
README.md
Running functional tests locally:
-
Set following environment variables: -.
SiteExtensionFeed- feed where site extension is published -.APIKEY- Nuget API key for extension publish feed -.AZURE_AUTH_CLIENT_ID- Azure service principal client id -.AZURE_AUTH_CLIENT_SECRET- Azure service principal client secret -.AZURE_AUTH_TENANT- Azure service principal tenant -. See https://github.com/Azure/azure-sdk-for-net/blob/Fluent/AUTH.md on how to create service principal -
Run
.\build /t:BuildSiteExtension /t:PushSiteExtensionto build and push site extension -
Run
.\build /t:Test /p:AntaresTests=trueto run tests using the site extension