From 03d784c90c474bc4a0c75b5ca768e470adb5456f Mon Sep 17 00:00:00 2001 From: "o.hauff" Date: Thu, 1 Jul 2021 11:55:47 +0000 Subject: [PATCH] TestShareeLib Tests run. --- UnitTests.yml | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/UnitTests.yml b/UnitTests.yml index d5f5544..e78d0b7 100644 --- a/UnitTests.yml +++ b/UnitTests.yml @@ -12,10 +12,32 @@ pool: variables: buildConfiguration: 'Release' -steps: +jobs: -- task: DotNetCoreCLI@2 - inputs: - command: 'test' - projects: 'TestLockItShared/TestLockItShared.csproj' - configuration: '$(buildConfiguration)' \ No newline at end of file +- job: RunUnittests + displayName: "Run Unit Tests" + + steps: + + - 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' \ No newline at end of file