Cucumber for PHP application(用于 PHP 应用程序的黄瓜)
问题描述
是否可以在 Rails 之外使用 Cucumber?我想开始使用它来测试我的一些 PHP 应用程序,但我真的不知道如何开始.
Is it possible to use Cucumber outside Rails? I'd like to start using it for testing some of my PHP applications, but I really don't know how to start.
可能最简单的方法是创建一个仅用于运行 Cucumber 功能的 Rails 项目,但在我看来这太过分了.
Probably the easiest way would be creating a Rails project only to run Cucumber features, but that seems like to me as overkill.
设置 Cucumber 以测试非 Rails 应用程序的最简单方法是什么?
What is the simplest way to set up Cucumber for testing a non-Rails application?
推荐答案
查看:
https://github.com/cucumber/cucumber/wiki/php
cucumber 与 PHP 一起使用很简单,甚至可以管理数据库.
It is easy to use cucumber with PHP, even managing the database.
这篇关于用于 PHP 应用程序的黄瓜的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:用于 PHP 应用程序的黄瓜


基础教程推荐
- PHP 类:全局变量作为类中的属性 2021-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- 如何替换eregi() 2022-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01