stdout-reporter:测试标准输出记者

时间:2021-06-13 11:41:39
【文件属性】:
文件名称:stdout-reporter:测试标准输出记者
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-13 11:41:39
JavaScript 标准输出记者 报告节点标准输出测试结果的工具。 安装 npm install --save-dev stdout-reporter 用法 var Reporter = require ( "stdout-reporter" ) ; var reporter = new Reporter ( [ options ] ) ; /* and then you set your logging methods */ ... 记录方法 moduleStart : 注册一个模块启动 需要一个 details 对象作为具有以下属性的参数: name : 模块的名称 testStart : 注册一个测试开始 需要一个 details 对象作为具有以下属性的参数: name : 测试名称 assertion : 注册断言执行 需要一个 details 对象作为具有以下属性的参数: module : 带
【文件预览】:
stdout-reporter-master
----.travis.yml(126B)
----.jscsrc(24B)
----package.json(831B)
----test()
--------index.js(1KB)
--------output.js(838B)
--------output()
----Gruntfile.js(900B)
----.gitignore(14B)
----lib()
--------index.js(3KB)
----README.md(2KB)
----.jshintrc(226B)
----LICENSE.txt(2KB)

网友评论