jasmine-tfs-reporter
A Jasmine/Protractor plugin for reporting test results to TFS.
usage
Add the jasmine-tfs-reporter to your project:
npm install --save jasmine-tfs-reporter
Example protractor.conf.js for adding the reporter to the Angular CLI e2e tests:
// Protractor configuration file, see link for more information// https://github.com/angular/protractor/blob/master/docs/referenceConf.js /*global jasmine */var SpecReporter = ;var TfsReporter = ; exportsconfig = allScriptsTimeout: 11000 specs: './e2e/**/*.e2e-spec.ts' capabilities: 'browserName': 'phantomjs' 'phantomjs.binary.path': path 'phantomjs.ghostdriver.cli.args': '--loglevel=DEBUG' directConnect: true baseUrl: 'http://localhost:4200/' framework: 'jasmine' jasmineNodeOpts: showColors: true defaultTimeoutInterval: 30000 {} useAllAngular2AppRoots: true { ; } { jasmine; jasmine; };
Setup the build steps in TFS:
Git gud code br0.