Updated test runner
This commit is contained in:
Родитель
bfaf268ee4
Коммит
83b4c9b214
|
@ -49,11 +49,11 @@
|
|||
"gulp-sourcemaps": "^1.6.0",
|
||||
"gulp-tslint": "^6.0.2",
|
||||
"gulp-typescript": "^2.13.6",
|
||||
"pm-mocha-jenkins-reporter": "^0.2.6",
|
||||
"tslint": "^3.14.0",
|
||||
"typescript": "^1.8.9",
|
||||
"typemoq": "^0.3.2",
|
||||
"vscode": "^0.11.0",
|
||||
"xunit-file": "^1.0.0"
|
||||
"vscode": "^0.11.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"async": "^2.0.0-rc.3",
|
||||
|
|
|
@ -16,7 +16,11 @@ let testRunner = require('vscode/lib/testrunner');
|
|||
// See https://github.com/mochajs/mocha/wiki/Using-mocha-programmatically#set-options for more info
|
||||
testRunner.configure({
|
||||
ui: 'tdd', // the TDD UI is being used in extension.test.ts (suite, test, etc.)
|
||||
reporter: 'xunit-file', // output to file in xunit XML format
|
||||
reporter: 'pm-mocha-jenkins-reporter',
|
||||
reporterOptions: {
|
||||
junit_report_name: 'Tests',
|
||||
junit_report_stack: 1
|
||||
},
|
||||
useColors: true // colored output from test results
|
||||
});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче