mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 07:36:31 +01:00
Extended.
This commit is contained in:
parent
705a0cc308
commit
c543cf46ec
1 changed files with 52 additions and 7 deletions
|
@ -23,27 +23,72 @@ jobs:
|
|||
- checkout: git://sharee.bike App/Code
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: "Run TestLockItShared Unit Tests"
|
||||
displayName: "Build TestLockItShared Unit Tests"
|
||||
inputs:
|
||||
command: 'test'
|
||||
projects: 'TestLockItShared/TestLockItShared.csproj'
|
||||
command: 'build'
|
||||
projects: '**/TestLockItShared.csproj'
|
||||
configuration: '$(buildConfiguration)'
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: "Run TestShareeLib Unit Tests"
|
||||
displayName: "Build TestLockItBLE Unit Tests"
|
||||
inputs:
|
||||
command: 'test'
|
||||
projects: 'TestShareeLib/TestShareeLib.csproj'
|
||||
command: 'build'
|
||||
projects: '**/TestLockItBLE.csproj'
|
||||
configuration: '$(buildConfiguration)'
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: "Build TestShareeLib Unit Tests"
|
||||
inputs:
|
||||
command: 'build'
|
||||
projects: '**/TestShareeLib.csproj'
|
||||
configuration: '$(buildConfiguration)'
|
||||
|
||||
# Infos about test filters see
|
||||
# https://docs.microsoft.com/en-us/previous-versions/jj155796(v=vs.140)?redirectedfrom=MSDN
|
||||
- task: VSTest@2
|
||||
displayName: "Run tests TestLockItShared"
|
||||
inputs:
|
||||
failOnMinTestsNotRun: true
|
||||
minimumExpectedTests: 6
|
||||
testSelector: 'testAssemblies'
|
||||
testAssemblyVer2: |
|
||||
**\TestLockItShared.dll
|
||||
!**\obj\**
|
||||
searchFolder: '$(System.DefaultWorkingDirectory)'
|
||||
testFiltercriteria: 'TestCategory!=Explicit&TestCategory!=RequiresCOPRI&TestCategory!=RequiresCOPRI.Live&TestCategory!=RequiresCOPRI.Devel'
|
||||
|
||||
- task: VSTest@2
|
||||
displayName: "Run tests TestLockItBLE"
|
||||
inputs:
|
||||
failOnMinTestsNotRun: true
|
||||
minimumExpectedTests: 19
|
||||
testSelector: 'testAssemblies'
|
||||
testAssemblyVer2: |
|
||||
**\TestLockItBLE.dll
|
||||
!**\obj\**
|
||||
searchFolder: '$(System.DefaultWorkingDirectory)'
|
||||
testFiltercriteria: 'TestCategory!=Explicit&TestCategory!=RequiresCOPRI&TestCategory!=RequiresCOPRI.Live&TestCategory!=RequiresCOPRI.Devel'
|
||||
|
||||
- task: VSTest@2
|
||||
displayName: "Run tests ShareeLib"
|
||||
inputs:
|
||||
failOnMinTestsNotRun: true
|
||||
minimumExpectedTests: 303
|
||||
testSelector: 'testAssemblies'
|
||||
testAssemblyVer2: |
|
||||
**\TestShareeLib.dll
|
||||
!**\obj\**
|
||||
searchFolder: '$(System.DefaultWorkingDirectory)'
|
||||
testFiltercriteria: 'TestCategory!=Explicit&TestCategory!=RequiresCOPRI&TestCategory!=RequiresCOPRI.Live&TestCategory!=RequiresCOPRI.Devel'
|
||||
codeCoverageEnabled: true
|
||||
|
||||
- task: VSTest@2
|
||||
displayName: "Run tests Sharee"
|
||||
inputs:
|
||||
failOnMinTestsNotRun: false # there are not yet tests in project.
|
||||
minimumExpectedTests: 1
|
||||
testSelector: 'testAssemblies'
|
||||
testAssemblyVer2: |
|
||||
**\TestSharee.dll
|
||||
!**\obj\**
|
||||
searchFolder: '$(System.DefaultWorkingDirectory)'
|
||||
testFiltercriteria: 'TestCategory!=Explicit&TestCategory!=RequiresCOPRI&TestCategory!=RequiresCOPRI.Live&TestCategory!=RequiresCOPRI.Devel'
|
||||
|
|
Loading…
Reference in a new issue