mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-22 23:26:31 +01:00
Moved from master branch.
[skip ci]
This commit is contained in:
parent
e3f73142b3
commit
7f7165c505
1 changed files with 45 additions and 0 deletions
45
UnitTests.yml
Normal file
45
UnitTests.yml
Normal file
|
@ -0,0 +1,45 @@
|
|||
# ASP.NET Core
|
||||
# Build and test ASP.NET Core projects targeting .NET Core.
|
||||
# Add steps that run tests, create a NuGet package, deploy, and more:
|
||||
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
|
||||
|
||||
trigger:
|
||||
- master
|
||||
|
||||
pool:
|
||||
vmImage: 'windows-latest'
|
||||
|
||||
variables:
|
||||
buildConfiguration: 'Release'
|
||||
|
||||
jobs:
|
||||
|
||||
- job: RunUnittests
|
||||
displayName: "Run Unit Tests"
|
||||
|
||||
steps:
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: "Run TestLockItShared Unit Tests"
|
||||
inputs:
|
||||
command: 'test'
|
||||
projects: 'TestLockItShared/TestLockItShared.csproj'
|
||||
configuration: '$(buildConfiguration)'
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: "Run TestShareeLib Unit Tests"
|
||||
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'
|
Loading…
Reference in a new issue