【文件属性】:
文件名称:testlab:NodeJS Mocha + PhantomJS 测试模块
文件大小:8KB
文件格式:ZIP
更新时间:2021-06-25 14:24:16
JavaScript
测试实验室
NodeJS Mocha + PhantomJS e2e 测试模块
这是该项目的官方代码库。
项目官网
安装
$ npm i testlab
快速使用
test/test-google.js var TestLab = require ( 'testlab' ) ;
describe ( 'slow: phantom: e2e tests' , function ( ) {
this . timeout ( 20000 ) ;
var browser = new TestLab . WebBrowser ( TestLab . WebBrowser . FAST ) ;
describe ( 'google: test google.com search' , function ( ) {
this . timeout (
【文件预览】:
testlab-master
----package.json(1KB)
----LICENSE(1KB)
----.gitignore(587B)
----lib()
--------v0()
----README.md(2KB)