Your SlideShare is downloading. ×
0
Phpmatsuri2010
Phpmatsuri2010
Phpmatsuri2010
Phpmatsuri2010
Phpmatsuri2010
Phpmatsuri2010
Phpmatsuri2010
Phpmatsuri2010
Phpmatsuri2010
Phpmatsuri2010
Phpmatsuri2010
Phpmatsuri2010
Phpmatsuri2010
Phpmatsuri2010
Phpmatsuri2010
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Phpmatsuri2010

872

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
872
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. BDD ja in PHP #phpmatsuri, @sizuhiko
  • 2. Do you know BDD?
  • 3. Yes or No? •Blu-ray •Disc •Drive
  • 4. YES, We know. •Behaviour •Driven •Development
  • 5. Last Week • It went to the PHP conference. • It was interested in OpenpearPEG. Parsing Expression Grammer( ) • I would try to hack Cucumber for PHP.
  • 6. Do you know Cucumber?
  • 7. Cucumber is •Ruby base • Executes plain-text as automated tests. • I received the Deep Impact.
  • 8. I thought that this was necessary also for PHP.
  • 9. Yesterday • I tried OpenpearPEG for develop parser of Cucumber feature. • But file of feature don’t match PEG because it isn’t structured. • I started giving it up.
  • 10. I FOUND Behat • Behavior driven development for PHP. • Inspired by Cucumber project and especially it's syntax part. • At once I see, it is a wonderful solution.
  • 11. TRY • Clone from Github. • Update submodules, Goutte, symfony, Zend, etc.. • Execute example scenarios.
  • 12. BUT • We want to write JAPANESE. • Behat has folder i18n. • But, I could not find config of JAPANESE.
  • 13. HACK • I made config of JAPANESE. • I wrote some steps by PHP.
  • 14. DEMO

×