【文件属性】:
文件名称:stof:Selenium测试组织框架
文件大小:37KB
文件格式:ZIP
更新时间:2021-05-16 11:29:00
CoffeeScript
Selenium测试组织框架
安装
npm install stof --save-dev
咕unt声守望者
您可以创建grunt任务来观察页面对象和规格更改。
首先
npm install grunt-contrib-watch --save-dev
然后添加到您的Gruntfile
grunt.config.merge
testCompile:
files: [
'test/**/*.coffee'
]
watch:
scripts:
files: [ '<%= testCompile.files %>' ]
tasks: [ 'compile-tests' ]
options:
spawn: false
grunt.event.on 'watch', (action, filep
【文件预览】:
stof-master
----src()
--------page-objects()
--------utils()
--------factory()
--------webdriver.coffee(5KB)
--------helpers()
--------main.coffee(2KB)
--------test()
--------stof.coffee(9KB)
--------Module.coffee(481B)
--------compile()
--------config.coffee(979B)
--------register.coffee(588B)
--------WebElement.coffee(6KB)
--------bin()
--------Browser.coffee(8KB)
----.npmignore(33B)
----LICENSE(1KB)
----README.md(1KB)
----docs()
--------ru()
----.gitignore(581B)
----package.json(828B)