cucumber-step-definitions:Cucumberjs 的常用步骤定义

时间:2024-07-22 01:00:43
【文件属性】:

文件名称:cucumber-step-definitions:Cucumberjs 的常用步骤定义

文件大小:11KB

文件格式:ZIP

更新时间:2024-07-22 01:00:43

JavaScript

Cucumber步骤定义 用于和 <href=" 的步骤定义集合。 这些步骤非常特定于我的应用程序。 它们可能只对您有用,作为参考。 用法 像这样扩展一组特定的步骤: // /project/features/step_definitions/form.js var form = require ( 'cucumber-step-definitions' ) . form ; module . exports = function ( ) { form . call ( this ) ; // you can override steps or add custom steps of your own //this.Given(/^I am on "([^"]*)"$/, function(arg1, callback) { // drive


【文件预览】:
cucumber-step-definitions-master
----index.js(257B)
----package.json(438B)
----world_example.js(1019B)
----LICENSE(1KB)
----.gitignore(14B)
----lib()
--------should.js(9KB)
--------window.js(972B)
--------click.js(2KB)
--------form.js(6KB)
--------login.js(863B)
--------common.js(2KB)
--------helper()
----README.md(839B)

网友评论