Skip to content

Commit

Permalink
Separated unittests and integrationtests into two steps
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKert committed Mar 21, 2019
1 parent cbb7d32 commit 259979c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,18 @@ steps:
- task: DotNetCoreCLI@2
inputs:
command: test
projects: 'test/**/*.csproj'
projects: 'test/**/BuildVision.UnitTests.csproj'
arguments: -c $(BuildConfiguration) --no-build --no-restore
displayName: Run Tests
displayName: Run Unittests

- task: VSTest@2
displayName: Execute Integrationtests
inputs:
testAssemblyVer2: |
**\$(BuildConfiguration)\*IntegrationTests*.dll
!**\obj\**
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'

- task: PublishBuildArtifacts@1
inputs:
Expand Down

0 comments on commit 259979c

Please sign in to comment.