用于 PHP 应用程序的黄瓜 [英] Cucumber for PHP application

查看:40
本文介绍了用于 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 应用程序的黄瓜的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆