Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static string TestAppId()
var testAppId = Environment.GetEnvironmentVariable("TESTAPPID");
if (string.IsNullOrWhiteSpace(testAppId))
{
Assert.Inconclusive("Environment variable 'TestAppId' not found.");
Assert.Fail("Environment variable 'TestAppId' not found.");
}

return testAppId;
Expand All @@ -27,7 +27,7 @@ public static string TestAppPassword()

if (string.IsNullOrWhiteSpace(testPassword))
{
Assert.Inconclusive("Environment variable 'TestPassword' not found.");
Assert.Fail("Environment variable 'TestPassword' not found.");
}

return testPassword;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ namespace Microsoft.Bot.Builder.FunctionalTests
{
[TestClass]
[TestCategory("FunctionalTests")]
#if !AUTOMATEDBUILD
[Ignore]
#endif
public class GetTokenRefreshTests
{
private string testAppId = null;
Expand Down
3 changes: 3 additions & 0 deletions build/yaml/botbuilder-dotnet-functional-test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ steps:
projects: '$(System.DefaultWorkingDirectory)\FunctionalTests\**\*FunctionalTests.csproj'
arguments: '-v n --configuration $(BuildConfiguration) --filter "TestCategory=FunctionalTests&TestCategory!=Adapters" --collect:"Code Coverage" --settings $(System.DefaultWorkingDirectory)\CodeCoverage.runsettings '
workingDirectory: '$(System.DefaultWorkingDirectory)\'
env:
TestAppId: $(LinuxTestBotAppId)
TestPassword: $(LinuxTestBotAppSecret)

- task: AzureCLI@1
displayName: 'Delete test resource group'
Expand Down
3 changes: 3 additions & 0 deletions build/yaml/botbuilder-dotnet-functional-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ steps:
projects: '$(System.DefaultWorkingDirectory)\FunctionalTests\**\*FunctionalTests.csproj'
arguments: '-v n --configuration $(BuildConfiguration) --filter "TestCategory=FunctionalTests&TestCategory!=Adapters"'
workingDirectory: tests
env:
TestAppId: $(WinTestBotAppId)
TestPassword: $(WinTestBotAppSecret)

- task: AzureCLI@1
displayName: 'Delete Resources'
Expand Down