Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Behavior Driven Development: Describe your Lara...

Behavior Driven Development: Describe your Laravel Application with Behat

Avatar for Andrew Morgan

Andrew Morgan

November 15, 2016

Other Decks in Programming

Transcript

  1. BDD ▸ Full Stack Web Developer - 7 years ▸

    Co-host ConstantCoders podcast - constantcoders.io ▸ andrewmorgan.me ▸ @AndrewMorgan3
  2. BDD ABLETO ▸ Behavioral Health Company ▸ Leverage technology to

    provide remote therapy ▸ We are hiring! ▸ ableto.com/careers ▸ ableto.com/patient-journey
  3. BDD BEHAVIOR DRIVEN DEVELOPMENT ▸ Behavior-driven development provides software development

    and management teams with shared tools and a shared process to collaborate on software development. - Wikipedia
  4. BDD UBIQUITOUS LANGUAGE ▸ The practice of building up a

    common, rigorous language between developers and users - Eric Evans ▸ Based on the language of the domain ▸ Shared, understood, and agreed upon
  5. BDD ABSTRACTIONS ▸ Language is full of abstractions. ▸ Words

    are used to represent descriptions. ▸ Naming things ▸ Discovery
  6. BDD WORKFLOW ▸ Write a feature ▸ Create one or

    more feature contexts ▸ run behat or vendor/bin/behat in terminal ▸ run behat —append-snipets to add any missing methods
  7. BDD PHANTOM JS ▸ phantomjs.org/ ▸ brew install phantomjs ▸

    apt-get phantomjs ▸ composer require --dev behat/mink-selenium2-driver ▸ phantomjs —webdriver=8643