####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