【文件属性】:
文件名称:testcafe-reporter-influxdb:一个自定义TestCafe报告程序,它将测试结果写入InfluxDB
文件大小:89KB
文件格式:ZIP
更新时间:2021-04-23 05:33:38
TypeScript
testcafe-reporter-influxdb
这是记者influxdb插件 。 使用生成了这个项目
要求
在使用报告程序的项目中:
TestCafe测试
Dotenv作为devDependency
在.env或.yml设置所需的环境变量
安装
npm install --save-dev testcafe-reporter-influxdb
当地的
使用tarball将本地库安装在要使用报告程序的项目中
gulp build
npm pack
npm install --save-dev ../testcafe-reporter-influxdb/testcafe-reporter-influxdb-1.0.0.tgz
用法
从命令行运行测试时,请使用--reporter选项指定报告者名称:
testcafe chrome 'path/to/test/file.js' --
【文件预览】:
testcafe-reporter-influxdb-main
----.eslintrc(125B)
----Gulpfile.js(1KB)
----package.json(1KB)
----.yo-rc.json(170B)
----.github()
--------github-release.yml(2KB)
--------github-ci.yml(547B)
----test()
--------.eslintrc(45B)
--------test.js(773B)
--------data()
--------utils()
----.prettierrc(151B)
----LICENSE(1KB)
----package-lock.json(289KB)
----.env.example(283B)
----src()
--------models()
--------influx-db-sender.ts(1KB)
--------test-data-processor.ts(5KB)
--------config.ts(706B)
--------index.ts(5KB)
--------test-metadata.ts(416B)
----tsconfig.json(319B)
----doc()
--------typedefs.js(2KB)
----.gitignore(337B)
----README.md(3KB)
----.editorconfig(293B)