Skip to content

Commit ba0ca96

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent 16963c6 commit ba0ca96

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

azure-pipelines.yml

+16-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,22 @@ steps:
4343
- pwsh: |
4444
.\setup-tests.ps1
4545
displayName: 'Setting tests'
46-
- pwsh: |
47-
.\run-tests.ps1
46+
# Visual Studio Test
47+
# Run unit and functional tests (Selenium, Appium, Coded UI test, etc.) using the Visual Studio Test (VsTest) runner. Test frameworks that have a Visual Studio test adapter such as MsTest, xUnit, NUnit, Chutzpah (for JavaScript tests using QUnit, Mocha and Jasmine), etc. can be run. Tests can be distributed on multiple agents using this task (version 2).
48+
- task: VSTest@2
49+
inputs:
50+
testSelector: 'testAssemblies'
51+
testAssemblyVer2: |
52+
Azure.Functions.Java.Tests.E2E.dll
53+
searchFolder: '$(System.DefaultWorkingDirectory)'
54+
publishRunAttachments: true # Optional
55+
diagnosticsEnabled: true # Optional
56+
#collectDumpOn: 'onAbortOnly' # Optional. Options: onAbortOnly, always, never
57+
#rerunFailedTests: False # Optional
58+
#rerunType: 'basedOnTestFailurePercentage' # Optional. Options: basedOnTestFailurePercentage, basedOnTestFailureCount
59+
#rerunFailedThreshold: '30' # Optional
60+
#rerunFailedTestCasesMaxLimit: '5' # Optional
61+
#rerunMaxAttempts: '3' # Optional
4862
env:
4963
AzureWebJobsStorage: $(AzureWebJobsStorage)
5064
AzureWebJobsCosmosDBConnectionString: $(AzureWebJobsCosmosDBConnectionString)

0 commit comments

Comments
 (0)