зеркало из https://github.com/Azure/ms-rest-js.git
Merge pull request #295 from Azure/daschult/testResults
Add test results to pipeline
This commit is contained in:
Коммит
4706172583
|
@ -90,6 +90,7 @@ dist/
|
||||||
*.d.ts.map
|
*.d.ts.map
|
||||||
*.js
|
*.js
|
||||||
*.js.map
|
*.js.map
|
||||||
|
test-results.xml
|
||||||
|
|
||||||
# Rollup
|
# Rollup
|
||||||
!rollup.config.js
|
!rollup.config.js
|
||||||
|
|
|
@ -26,3 +26,7 @@ jobs:
|
||||||
artifactName: dist
|
artifactName: dist
|
||||||
downloadPath: $(System.DefaultWorkingDirectory)
|
downloadPath: $(System.DefaultWorkingDirectory)
|
||||||
- script: 'npm test'
|
- script: 'npm test'
|
||||||
|
- task: PublishTestResults@2
|
||||||
|
inputs:
|
||||||
|
testResultsFiles: '**/test-results.xml'
|
||||||
|
testRunTitle: 'Test results for JavaScript'
|
||||||
|
|
|
@ -76,6 +76,7 @@
|
||||||
"glob": "^7.1.2",
|
"glob": "^7.1.2",
|
||||||
"mocha": "^5.1.1",
|
"mocha": "^5.1.1",
|
||||||
"mocha-chrome": "^1.1.0",
|
"mocha-chrome": "^1.1.0",
|
||||||
|
"mocha-junit-reporter": "^1.18.0",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"rollup": "^0.67.3",
|
"rollup": "^0.67.3",
|
||||||
"rollup-plugin-alias": "^1.4.0",
|
"rollup-plugin-alias": "^1.4.0",
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
--require ts-node/register
|
--require ts-node/register
|
||||||
--timeout 50000
|
--timeout 50000
|
||||||
--reporter list
|
--reporter list
|
||||||
|
--reporter mocha-junit-reporter
|
||||||
--colors
|
--colors
|
||||||
test/node/**/*.ts
|
test/node/**/*.ts
|
||||||
test/shared/**/*.ts
|
test/shared/**/*.ts
|
||||||
|
|
Загрузка…
Ссылка в новой задаче