Coder Social home page Coder Social logo

inoryy / devclub-bdd-php Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 30 MB

Live Demo app for Devclub presentation "BDD on PHP with Behat and Mink". Slides (in Russian): https://speakerdeck.com/inori/bdd-na-php-s-pomoshch-iu-behat-i-mink

Home Page: http://vimeo.com/58580972

devclub-bdd-php's Introduction

####This is a live demo presentation for Devclub's "BDD on PHP with Behat and Mink" talk


NB! To view full app in action checkout step-15 branch


  • step-1 = composer.json init

  • step-2 = install whole project & add bootstrap code php composer.phar install --dev

  • step-3 = init behat, added first (failing) scenario bin/behat --init

  • step-4 = added enough code to get first scenario to pass

  • step-5 = added basic scenario to show that you can 'view' any generic website

  • step-6 = updated previous scenario to take google.com regional redirects into account

  • step-7 = added a check that devclub website doesn't have any errors :P

  • step-8 = navigate around devclub website

  • step-9 = added basic search feature (similar to presentation)

  • step-10 = updated scenario to check a simple 'no results' situation

  • step-11 = implemented enough code to get scenario passing

  • step-12 = brought back the original scenario (failing)

  • step-13 = added implementation to get new scenario passing

  • step-14 = tweaked code to display results via AJAX

  • step-15 = Integrate with selenium to test application with javascript (AJAX) calls NB! Added selenium binary into repository, don't recommend this in real project

  • step-16 = (Optional) Wait a few seconds before automatically closing passing scenarios browser

devclub-bdd-php's People

Contributors

inoryy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.