Add encryption unit tests (#2243)

This commit is contained in:
Cheena Malhotra
2023-09-20 13:21:54 -07:00
committed by GitHub
parent 6fb93ce727
commit d27e86915e
6 changed files with 208 additions and 0 deletions

View File

@@ -88,6 +88,12 @@ steps:
command: restore
projects: test/Microsoft.Kusto.ServiceLayer.UnitTests
- task: DotNetCoreCLI@2
displayName: 'dotnet restore test/Microsoft.SqlTools.Authentication.UnitTests'
inputs:
command: restore
projects: test/Microsoft.SqlTools.Authentication.UnitTests
- task: DotNetCoreCLI@2
displayName: 'dotnet test test/Microsoft.SqlTools.ServiceLayer.UnitTests'
inputs:
@@ -104,6 +110,14 @@ steps:
testRunTitle: Kusto.ServiceLayer.UnitTests
arguments: '--configuration $(buildConfiguration) --collect "XPlat Code Coverage"'
- task: DotNetCoreCLI@2
displayName: 'dotnet test test/Microsoft.SqlTools.Authentication.UnitTests'
inputs:
command: test
projects: test/Microsoft.SqlTools.Authentication.UnitTests
testRunTitle: SqlTools.Authentication.UnitTests
arguments: '--configuration $(buildConfiguration) --collect "XPlat Code Coverage"'
- script: |
dotnet tool install -g dotnet-reportgenerator-globaltool
reportgenerator -reports:$(Agent.TempDirectory)/**/coverage.cobertura.xml -targetdir:$(Agent.TempDirectory)/coverlet/reports -reporttypes:"Cobertura"