JUnit Test Output

Jenkins does not notice that my test cases are running in Polymer, and I'm not sure how to create the correct JUnit file. Using web-component-tester, how can I create a test output in JUnit format?

+7
polymer web-component-tester
source share
1 answer

This package ultimately helped.

Process

$ npm install wct-xunit-reporter $ wct --plugin xunit-reporter 

or add configuration to wct.conf.js

 module.exports = { plugins: { local: { browsers: ['chrome'] }, sauce: false, 'xunit-reporter': { 'output': 'testfile.xml' } } }; 

Run the web tester component

$ wct

+1
source share

All Articles