【文件属性】:
文件名称:velocity-tinytest:使用 Tinytest 和 Velocity
文件大小:8KB
文件格式:ZIP
更新时间:2021-07-09 00:26:41
CoffeeScript
numtel:速度-微小的测试
使用 Tinytest 测试您的 Meteor 应用程序,就像您测试包一样。
如果你想在你的应用程序中使用 Tinytest 但没有 Velocity,请参阅我的包。
安装
由于 Velocity 的 API 中的重大更改,此包已从 Atmosphere 中删除。
tinytest包是自动包含的。
快速开始
将测试添加到tests/tinytest的.js或.coffee文件中
Tinytest . add ( 'test title' , function ( test ) {
test . equal ( true , true ) ;
} ) ;
要查看结果,请安装 Velocity HTML Reporter:
$ meteor add velocity:html-reporter
Tinytest 文档
由于 Tinytest 没有官
【文件预览】:
velocity-tinytest-master
----package.js(587B)
----test()
--------sample.js(1011B)
----LICENSE(1KB)
----.gitignore(20B)
----lib()
--------runner.coffee(2KB)
--------server.coffee(3KB)
----README.md(3KB)
----versions.json(1KB)
----.npm()
--------package()