mocha-junit-reporter:摩卡的JUnit XML报告器

时间:2021-05-02 09:07:16
【文件属性】:
文件名称:mocha-junit-reporter:摩卡的JUnit XML报告器
文件大小:43KB
文件格式:ZIP
更新时间:2021-05-02 09:07:16
JavaScript 适用于Mocha的JUnit Reporter 产生JUnit风格的XML测试结果。 安装 $ npm install mocha-junit-reporter --save-dev 或作为全局模块 $ npm install -g mocha-junit-reporter 用法 使用mocha-junit-reporter运行mocha: $ mocha test --reporter mocha-junit-reporter 这将在./test-results.xml输出结果文件。 您可以选择通过设置环境变量MOCHA_FILE或在reporterOptions指定mochaFile来声明结果XML文件的备用位置: $ MOCHA_FILE=./path_to_your/file.xml mocha test --reporter mocha-junit-reporter
【文件预览】:
mocha-junit-reporter-master
----.travis.yml(221B)
----index.js(15KB)
----package.json(1KB)
----.github()
--------workflows()
----test()
--------resources()
--------mock-results.js(4KB)
--------mocha-junit-reporter-spec.js(26KB)
----package-lock.json(77KB)
----.eslintrc.js(302B)
----.gitignore(90B)
----README.md(9KB)
----.editorconfig(187B)
----LICENSE.txt(1KB)

网友评论