承接 realtime.eu/behat-sfk 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

realtime.eu/behat-sfk

Composer 安装命令:

composer require realtime.eu/behat-sfk

包简介

Provides SFK functionality for Behat

关键字:

README 文档

README

The Swiss File Knife File Tree Processor - Extension for Behat

This is a Behat extension I created for testing some PHP code against a FTP server. At the moment this extension is only tested with the ftpserv command.

To install

  1. Include Realtime\SfkBehat\Extension as extension in your behat configuration file, see: http://docs.behat.org/guides/7.config.html#extensions

  2. Add as subcontext:

    • $this->useContext('subcontext_alias', new \Realtime\SfkBehat\Context());

Steps

Given a FTP server

Given a local FTP server running on port "PORT" with these options "JSON_MAP"
-or-
Given a local FTP server running on port "PORT" with these options:
"""
JSON_MAP
"""

PORT = Target port to run the FTP server on, e.g. the default port 21. JSON_MAP = JSON key > value object with the following options:

{
  "username" : "jeff",     // run ftp server with this username
  "password" : "p@sw0rd",  // run ftp server with this password
  "pasv_ip" : "127.0.0.1"  // return this ip adres in PASV response
                              (default returns the first network interface IP found)
}

Assert FTPed file

Then FTPed file "NAME" must be created, containing:
"""
CONTENT
"""

NAME = Name of the uploaded file. CONTENT = Content of the uploaded file.

统计信息

  • 总下载量: 104
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2013-07-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固