mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-18 19:41:15 +02:00
@@ -33,7 +33,6 @@ by all current and future parties who may be working on the codebase.
|
||||
[psr0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
|
||||
[psr1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
|
||||
[psr2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
|
||||
[psr3]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
|
||||
[pear-cs]: http://pear.php.net/manual/en/standards.php
|
||||
[zend-cs]: http://framework.zend.com/wiki/display/ZFDEV2/Coding+Standards
|
||||
[phpcs]: http://pear.php.net/package/PHP_CodeSniffer/
|
||||
|
@@ -1,4 +1,5 @@
|
||||
---
|
||||
title: XDebug
|
||||
isChild: true
|
||||
---
|
||||
|
||||
|
@@ -4,9 +4,9 @@ isChild: true
|
||||
|
||||
## Behavior Driven Development {#behavior_driven_development_title}
|
||||
|
||||
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.
|
||||
There are two different types of Behavior-Driven Development (BDD): SpecBDD and StoryBDD. SpecBDD focuses on technical behavior of code, while StoryBDD focuses on business or feature behaviors or interactions. PHP has frameworks for both types of BDD.
|
||||
|
||||
With StoryBDD, you write human-readable stories that describe the behavior of your application. These stories
|
||||
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.
|
||||
@@ -15,7 +15,7 @@ With SpecBDD, you write specifications that describe how your actual code should
|
||||
a function or method, you are describing how that function or method should behave. PHP offers the PHPSpec framework for this purpose. This framework is inspired
|
||||
by the [RSpec project](http://rspec.info/) for Ruby.
|
||||
|
||||
### BDD Links
|
||||
### BDD Links
|
||||
|
||||
* [Behat](http://behat.org/), the StoryBDD framework for PHP, inspired by Ruby's [Cucumber](http://cukes.info/) project;
|
||||
* [PHPSpec](http://www.phpspec.net/), the SpecBDD framework for PHP, inspired by Ruby's [RSpec](http://rspec.info/) project;
|
||||
|
@@ -23,5 +23,5 @@ The PHP community also hosts larger regional and national conferences in many co
|
||||
[php-conf]: http://php.net/conferences/index.php
|
||||
[phpc-twitter]: https://twitter.com/phpc
|
||||
[php-programmers-gplus]: https://plus.google.com/u/0/communities/104245651975268426012
|
||||
[php-irc]: http://webchat.freenode.net/
|
||||
[php-irc]: http://webchat.freenode.net/?channels=phpc
|
||||
[php-so]: http://stackoverflow.com/questions/tagged/php
|
||||
|
Reference in New Issue
Block a user