mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-11 16:23:57 +02:00
Merge pull request #57 from jcarouth/gh-pages
Add mentoring section and link to Jekyll-based site
This commit is contained in:
@@ -4,8 +4,19 @@ isChild: true
|
|||||||
|
|
||||||
## Behaviour Driven Development
|
## Behaviour Driven Development
|
||||||
|
|
||||||
With BDD, you write human-readable stories that describe the behavior of your application. These stories
|
There are two different types of Behavior-Driven Development (BDD): SpecBDD and StoryBDD. SpecBDD focuses on technical behavior or code, while StoryBDD focuses on business or feature behaviors or interactions. PHP has frameworks for both types of BDD.
|
||||||
can then be run as actual tests against your application.
|
|
||||||
|
With StoryBDD, you write human-readable stories that describe the behavior of your application. These stories
|
||||||
|
can then be run as actual tests against your application. The framework used in PHP applications for StoryBDD
|
||||||
|
is Behat, which is inspired by Ruby's [Cucumber](http://cukes.info/) project and implements the Gherkin DSL
|
||||||
|
for describing feature behavior.
|
||||||
|
|
||||||
|
With SpecBDD, you write specifications that describe how your actual code should behave. Instead of testing
|
||||||
|
a function or method, you are describing how that function or method should behave. This framework is inspired
|
||||||
|
by the [RSpec project](http://rspec.info/) for Ruby.
|
||||||
|
|
||||||
|
### BDD Links
|
||||||
|
|
||||||
* [Behat](http://behat.org/) is inspired by Ruby's [Cucumber](http://cukes.info/) project
|
* [Behat](http://behat.org/) is inspired by Ruby's [Cucumber](http://cukes.info/) project
|
||||||
* [Selenium](http://seleniumhq.org/) is a browser automation tool, which can be [integrated with PHPUnit](http://www.phpunit.de/manual/3.1/en/selenium.html)
|
* [PHPSpec](http://www.phpspec.net/) the SpecBDD framework for PHP
|
||||||
|
* [Selenium](http://seleniumhq.org/) is a browser automation tool, which can be [integrated with PHPUnit](http://www.phpunit.de/manual/3.1/en/selenium.html)
|
||||||
|
@@ -13,6 +13,10 @@
|
|||||||
* [Chris Shiflett](http://twitter.com/shiflett)
|
* [Chris Shiflett](http://twitter.com/shiflett)
|
||||||
* [Sebastian Bergmann](http://twitter.com/s_bergmann)
|
* [Sebastian Bergmann](http://twitter.com/s_bergmann)
|
||||||
|
|
||||||
|
## Mentoring
|
||||||
|
|
||||||
|
* [phpmentoring.org](http://phpmentoring.org/) - Formal, peer to peer mentoring in the PHP community.
|
||||||
|
|
||||||
## PHP PaaS Providers
|
## PHP PaaS Providers
|
||||||
|
|
||||||
* [PagodaBox](https://pagodabox.com/)
|
* [PagodaBox](https://pagodabox.com/)
|
||||||
|
Reference in New Issue
Block a user