Behat

用于自动测试您的业务预期的PHP框架。(A php framework for autotesting your business expectations.)

Github星跟蹤圖

Behat是PHP的开源行为驱动开发框架。 它是一种支持您通过持续沟通、刻意发现和测试自动化提供重要软件的工具。

专注于沟通,而不是像你使用的其他测试框架一样。 不是证明你的系统是建立正确的,它可以帮助您建立正确的系统,首先通过促进和丰富需求沟通。

Behat 构建于PHP之上,它的核心是一个伟大的PHP库。 代码库大量使用Symfony2组件,虔诚地遵循编码标准和分数高评级的主要静态分析工具。这一切基本上都意味着,作为一个PHP开发人员,与Behat一起,你永远有家的感觉。

Behat是可扩展的。几乎所有的框架功能都可以通过强大的扩展系统来增强甚至替换。有很多扩展已经可用。

概覽

名稱與所有者Behat/Behat
主編程語言PHP
編程語言PHP (語言數: 2)
平台
許可證MIT License
發布數134
最新版本名稱v3.14.0 (發布於 )
第一版名稱0.1.0 (發布於 )
創建於2011-02-15 00:02:39
推送於2024-05-05 16:35:44
最后一次提交2023-12-09 14:55:02
星數3.9k
關注者數152
派生數611
提交數3.1k
已啟用問題?
問題數901
打開的問題數83
拉請求數367
打開的拉請求數18
關閉的拉請求數175
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

Behat

Behat is a BDD framework for PHP to help you test business expectations.

Gitter chat
License
Unix Status
Windows status
Scrutinizer Quality Score

Installing Behat

The easiest way to install Behat is by using Composer:

$> composer require --dev behat/behat

After that you'll be able to run Behat via:

$> vendor/bin/behat

Installing Development Version

Clone the repository and install dependencies via Composer:

$> composer install

After that you will be able to run development version of Behat via:

$> bin/behat

Contributing

Before contributing to Behat, please take a look at the CONTRIBUTING.md document.

Versioning

Starting from v3.0.0, Behat is following Semantic Versioning v2.0.0.
This basically means that if all you do is implement interfaces (like this one)
and use service constants (like this one),
you would not have any backwards compatibility issues with Behat up until v4.0.0 (or later major)
is released. Exception could be an extremely rare case where BC break is introduced as a measure
to fix a serious issue.

You can read detailed guidance on what BC means in Symfony2 BC guide.

Contributors

去到頂部