Mais conteúdo relacionado Semelhante a BDD with Behat (20) BDD with Behat2. Who am I? Richard D Shank [email_address] @IamPersistent Freelancer Symfony2 developer Wanna be rock star 18. BDD What makes it different? Its written from the outside in, driven by the business value 19. BDD How does it work? You tell a story When a customer clicks on a blue widget, it is added to their shopping cart. 33. Step 2 – Object Definition Steps are generated Calculator.php 34. Step 2 – Object Definition *Writing a stub class is not really the BDD way of doing things, PHP doesn't handle 'method not found' exceptions very well, so the stub class is necessary for PHP 36. Step 2 – Step Definition steps/calculator.php 37. Step 2 – Add support support/env.php 58. Learn more http://en.wikipedia.org/wiki/Behavior_Driven_Development http://blog.dannorth.net/introducing-bdd https://github.com/aslakhellesoy/cucumber/wiki http://cukes.info http://everzet.com/Behat https://github.com/everzet/Behat http://www.pragprog.com/titles/achbd/the-rspec-book http://scotland-on-rails.s3.amazonaws.com/1A06_JosephWilk-SOR.mp4