File tree Expand file tree Collapse file tree
.github/actions/testing/test
tests/PolylineAlgorithm.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ inputs:
1313 description : ' Build configuration. Default: Release'
1414 required : false
1515 default : ' Release'
16+ use-testing-platform :
17+ description : ' Use Microsoft Testing Platform, Default: true'
18+ required : false
19+ default : ' true'
1620 project-path :
1721 description : ' Search pattern for test projects.'
1822 required : true
@@ -82,10 +86,11 @@ runs:
8286 - name : ' Test with .NET CLI'
8387 shell : bash
8488 run : dotnet test ${{ inputs.test-project-glob-pattern }} --configuration ${{ inputs.build-configuration }} -- ${{ env.CODE_COVERAGE_ARGS }} ${{ env.TRX_LOGGER_ARGS }} --results-directory ${{ inputs.test-results-directory }}
85-
89+ env :
90+ DOTNET_TEST_USE_MICROSOFT_TESTING_PLATFORM : true
8691 - name : ' Upload test results'
8792 if : ${{ inputs.upload-test-artifacts == 'true' }}
8893 uses : actions/upload-artifact@v7
8994 with :
9095 name : ' ${{ inputs.test-artifacts-name }}'
91- path : ' ${{ inputs.test-results-directory }}*'
96+ path : ' ${{ inputs.test-results-directory }}*'
Original file line number Diff line number Diff line change 1212 <TestingPlatformShowTestsFailure >true</TestingPlatformShowTestsFailure >
1313 <TestingPlatformCaptureOutput >false</TestingPlatformCaptureOutput >
1414 <TestingExtensionsProfile >None</TestingExtensionsProfile >
15+ <UseMicrosoftTestingPlatform >true</UseMicrosoftTestingPlatform >
1516 </PropertyGroup >
1617
1718 <PropertyGroup >
You can’t perform that action at this time.
0 commit comments