TestShareeLib Tests run.

This commit is contained in:
o.hauff 2021-07-01 11:55:47 +00:00
parent bc82153835
commit 03d784c90c

View file

@ -12,10 +12,32 @@ pool:
variables: variables:
buildConfiguration: 'Release' buildConfiguration: 'Release'
steps: jobs:
- task: DotNetCoreCLI@2 - job: RunUnittests
inputs: displayName: "Run Unit Tests"
command: 'test'
projects: 'TestLockItShared/TestLockItShared.csproj' steps:
configuration: '$(buildConfiguration)'
- task: DotNetCoreCLI@2
inputs:
command: 'test'
projects: 'TestLockItShared/TestLockItShared.csproj'
configuration: '$(buildConfiguration)'
- task: DotNetCoreCLI@2
inputs:
command: 'test'
projects: 'TestShareeLib/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
inputs:
testSelector: 'testAssemblies'
testAssemblyVer2: |
**\TestShareeLib.dll
!**\obj\**
searchFolder: '$(System.DefaultWorkingDirectory)'
testFiltercriteria: 'TestCategory!=Explicit&TestCategory!=RequiresCOPRI&TestCategory!=RequiresCOPRI.Live&TestCategory!=RequiresCOPRI.Devel'