mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 15:46:29 +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
|
- checkout: git://sharee.bike App/Code
|
||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
displayName: "Run TestLockItShared Unit Tests"
|
displayName: "Build TestLockItShared Unit Tests"
|
||||||
inputs:
|
inputs:
|
||||||
command: 'test'
|
command: 'build'
|
||||||
projects: 'TestLockItShared/TestLockItShared.csproj'
|
projects: '**/TestLockItShared.csproj'
|
||||||
configuration: '$(buildConfiguration)'
|
configuration: '$(buildConfiguration)'
|
||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
displayName: "Run TestShareeLib Unit Tests"
|
displayName: "Build TestLockItBLE Unit Tests"
|
||||||
inputs:
|
inputs:
|
||||||
command: 'test'
|
command: 'build'
|
||||||
projects: 'TestShareeLib/TestShareeLib.csproj'
|
projects: '**/TestLockItBLE.csproj'
|
||||||
|
configuration: '$(buildConfiguration)'
|
||||||
|
|
||||||
|
- task: DotNetCoreCLI@2
|
||||||
|
displayName: "Build TestShareeLib Unit Tests"
|
||||||
|
inputs:
|
||||||
|
command: 'build'
|
||||||
|
projects: '**/TestShareeLib.csproj'
|
||||||
configuration: '$(buildConfiguration)'
|
configuration: '$(buildConfiguration)'
|
||||||
|
|
||||||
# Infos about test filters see
|
# Infos about test filters see
|
||||||
# https://docs.microsoft.com/en-us/previous-versions/jj155796(v=vs.140)?redirectedfrom=MSDN
|
# https://docs.microsoft.com/en-us/previous-versions/jj155796(v=vs.140)?redirectedfrom=MSDN
|
||||||
- task: VSTest@2
|
- task: VSTest@2
|
||||||
|
displayName: "Run tests TestLockItShared"
|
||||||
inputs:
|
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'
|
testSelector: 'testAssemblies'
|
||||||
testAssemblyVer2: |
|
testAssemblyVer2: |
|
||||||
**\TestShareeLib.dll
|
**\TestShareeLib.dll
|
||||||
!**\obj\**
|
!**\obj\**
|
||||||
searchFolder: '$(System.DefaultWorkingDirectory)'
|
searchFolder: '$(System.DefaultWorkingDirectory)'
|
||||||
testFiltercriteria: 'TestCategory!=Explicit&TestCategory!=RequiresCOPRI&TestCategory!=RequiresCOPRI.Live&TestCategory!=RequiresCOPRI.Devel'
|
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