Behat BDD for PHP

2013 年 12 月 14 日5140

Getting started with Behat is as easy as





vim composer.json





curl http://http://www.zjjv.com///installer | php



php composer.phar install --prefer-source





bin/behat --init



vim features/your_first.feature




Feature: Your first feature



In order to start using Behat



As a manager or developer



I need to try







Scenario: Successfully describing scenario



Given there is something



When I do something



Then I should see something




bin/behat



0 0