ytestrunner:使用“ npm test”运行YUI测试,并支持保存测试结果,覆盖范围等。 支持YUITest和YUI3样式测试

时间:2024-06-05 10:34:27
【文件属性】:

文件名称:ytestrunner:使用“ npm test”运行YUI测试,并支持保存测试结果,覆盖范围等。 支持YUITest和YUI3样式测试

文件大小:1.64MB

文件格式:ZIP

更新时间:2024-06-05 10:34:27

JavaScript

ytestrunner 使用“ npm test”运行节点包的YUI测试,并支持保存测试结果,覆盖范围等。 支持YUITest和YUI3样式测试。 要使用此模块,请将其与用于测试的YUI模块一起声明为devDependency ( yui用于yui3样式测试, yuitest用于独立yui测试)。 用法 编写一些代码(默认情况下,该模块假定该代码将在源根目录和lib/下找到) 使用受支持的格式编写测试(默认情况下,该模块假定将找到test/ ) 如下修改您的package.json 对于使用yuitest实施的测试: { "devDependencies": { "ytestrunner": "*", "yuitest": "*" }, "scripts": { "test": "ytestrunner


【文件预览】:
ytestrunner-master
----.gitignore(154B)
----package.json(1KB)
----.travis.yml(45B)
----LICENSE(1KB)
----index.js(1KB)
----examples()
--------yui3-test-sample()
--------yui3-custom-modules()
--------screenshot.png(71KB)
--------yuitest-sample()
----README.md(8KB)
----lib()
--------coverage()
--------yui3-test-runner.js(5KB)
--------cli.js(13KB)
--------yuitest-runner.js(3KB)
--------util()
--------vendor()
--------base-test-runner.js(14KB)
----.npmignore(63B)
----test()
--------package.json(320B)
--------t()
--------data()
--------yui3()
--------run.js(2KB)
--------yuitest()
--------common()

网友评论