Skip to content

Commit 530b146

Browse files
author
Phil Sturgeon
committed
Merge pull request codeguy#57 from jcarouth/gh-pages
Add mentoring section and link to Jekyll-based site
2 parents 75f7a8e + 255f7f2 commit 530b146

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

_posts/07-03-01-Behavior-Driven-Development.md

+14-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,19 @@ isChild: true
44

55
## Behaviour Driven Development
66

7-
With BDD, you write human-readable stories that describe the behavior of your application. These stories
8-
can then be run as actual tests against your application.
7+
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.
8+
9+
With StoryBDD, you write human-readable stories that describe the behavior of your application. These stories
10+
can then be run as actual tests against your application. The framework used in PHP applications for StoryBDD
11+
is Behat, which is inspired by Ruby's [Cucumber](http://cukes.info/) project and implements the Gherkin DSL
12+
for describing feature behavior.
13+
14+
With SpecBDD, you write specifications that describe how your actual code should behave. Instead of testing
15+
a function or method, you are describing how that function or method should behave. This framework is inspired
16+
by the [RSpec project](http://rspec.info/) for Ruby.
17+
18+
### BDD Links
919

1020
* [Behat](http://behat.org/) is inspired by Ruby's [Cucumber](http://cukes.info/) project
11-
* [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)
21+
* [PHPSpec](http://www.phpspec.net/) the SpecBDD framework for PHP
22+
* [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)

_posts/10-01-01-Resources.md

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
* [Chris Shiflett](http://twitter.com/shiflett)
1414
* [Sebastian Bergmann](http://twitter.com/s_bergmann)
1515

16+
## Mentoring
17+
18+
* [phpmentoring.org](http://phpmentoring.org/) - Formal, peer to peer mentoring in the PHP community.
19+
1620
## PHP PaaS Providers
1721

1822
* [PagodaBox](https://pagodabox.com/)

0 commit comments

Comments
 (0)