Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
moving to the new test structure with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell committed Jul 22, 2019
1 parent 22b755e commit e7916ee
Show file tree
Hide file tree
Showing 14 changed files with 1,306 additions and 57 deletions.
10 changes: 8 additions & 2 deletions .azure-pipelines/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,19 @@ steps:
inputs:
command: custom
verbose: false
customCommand: 'run test:ci'
customCommand: 'run test-coverage'
env:
DISPLAY: :10

- task: PublishTestResults@2
displayName: 'Publish Test Results'
inputs:
testResultsFiles: '*-results.xml'
testResultsFiles: 'out-cov/*-results.xml'
testRunTitle: '$(Agent.OS)'
condition: succeededOrFailed()

- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: 'cobertura'
summaryFileLocation: coverage/cobertura-coverage.xml
condition: succeededOrFailed()
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ node_modules
.ionide
test-results.xml
.test-profiles
*.orig
*.orig
coverage
out-cov
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index",
"--user-data-dir=${workspaceFolder}/.vscode-test/user"
],
"outFiles": ["${workspaceFolder}/out/test/**/*.js"],
Expand Down
Loading

0 comments on commit e7916ee

Please # to comment.