SlideShare ist ein Scribd-Unternehmen logo
1 von 154
Downloaden Sie, um offline zu lesen
PHPSpec & Behat: Two Testing
Tools That Write Code For You
Presented by Joshua Warren
OR:
I heard you like to code, so
let’s write code that writes
code while you code.
About Me
PHP Developer
Working with PHP since 1999
Founder & CEO
Founded Creatuity in 2008
PHP Development Firm
Focused on the Magento
platform
JoshuaWarren.com
@JoshuaSWarren
IMPORTANT!
• joind.in/14919
• Download slides
• Post comments
• Leave a rating!
What You Need To Know
ASSUMPTIONS
Today we assume you’re a PHP developer.
That you are familiar with test driven development.
And that you’ve at least tried PHPUnit, Selenium or
another testing tool.
BDD - no, the B does not stand for beer, despite what a Brit might tell you
Behavior Driven
Development
Think of BDD as stepping up a level from TDD.
Graphic thanks to BugHuntress
TDD generally deals with functional units.
BDD steps up a level to consider complete features.
In BDD, you write feature files in the form of user
stories that you test against.
BDD uses a ubiquitous language - basically, a
language that business stakeholders, project
managers, developers and our automated tools can
all understand.
Sample Behat Feature File
Feature: Up and Running

In order to confirm Behat is Working

As a developer

I need to see a homepage





Scenario: Homepage Exists

When I go to "/bdd/"

Then I should see "Welcome to the world of BDD"

BDD gets all stakeholders to agree on what “done”
looks like before you write a single line of code
Behat
We implement BDD in PHP with a tool called
Behat
Behat is a free, open source tool designed for
BDD and PHP
behat.org
SpecBDD - aka, Testing Tongue Twisters
Specification Behavior Driven
Development
Before you write a line of code, you write a
specification for how that code should work
Focuses you on architectural decisions up-front
PHPSpec
Open Source tool for specification driven development
in PHP
www.phpspec.net
Why Use Behat and
PHPSpec?
These tools allow you to focus exclusively on
logic
Helps build functional testing coverage quickly
Guides planning and ensuring that all stakeholders are
in agreement
Why Not PHPUnit?
PHPSpec is opinionated - in every sense of the word
PHPSpec forces you to think differently and creates a
mindset that encourages usage
PHPSpec tests are much more readable
Read any of Marcello Duarte’s slides on testing
What About Performance?
Tests that take days to run won’t be used
PHPSpec is fast
Behat supports parallel execution
Behat and PHPSpec will be at least as fast as the
existing testing tools, and can be much faster
Enough Theory:

Let’s Build Something!
We’ll be building a basic time-off request app.
Visitors can specify their name and a reason
for their time off request.
Time off requests can be viewed, approved
and denied.
Intentionally keeping things simple, but you
can follow this pattern to add authentication,
roles, etc.
Want to follow along or view the sample
code?
Vagrant box:
https://github.com/joshuaswarren/bdd-box
Project code:
https://github.com/joshuaswarren/bdd
Setting up Our Project
Setup a folder for your project
Use composer to install Behat, phpspec & friends
composer require behat/behat —dev
composer require behat/mink-goutte-driver —dev
composer require phpspec/phpspec —dev
We now have Behat and Phpspec installed
We also have Mink - an open source browser
emulator/controller
Mink Drivers
Goutte - headless, fast, no JS
Selenium2 - requires Selenium server, slower,
supports JS
Zombie - headless, fast, does support JS
We are using Goutte today because we don’t need
Javascript support
We’ll perform some basic configuration to let Behat
know to use Goutte
And we need to let phpspec know where our code
should go
Run:
vendor/bin/behat —init
Create /behat.yml
default:

extensions:

BehatMinkExtension:

base_url: http://192.168.33.10/

default_session: goutte

goutte: ~

features/bootstrap/FeatureContext.php
use BehatBehatContextContext;

use BehatBehatContextSnippetAcceptingContext;

use BehatGherkinNodePyStringNode;

use BehatGherkinNodeTableNode;

use BehatMinkExtensionContextMinkContext;



/**

* Defines application features from the specific context.

*/

class FeatureContext extends BehatMinkExtensionContextMinkContext

{



}
Create /phpspec.yml
suites:

app_suites:

namespace: App

psr4_prefix: App

src_path: app

Features
features/UpAndRunning.feature
Feature: Up and Running

In order to confirm Behat is Working

As a developer

I need to see a homepage





Scenario: Homepage Exists

When I go to "/bdd/"

Then I should see "Welcome to the world of BDD"

Run:
bin/behat
features/SubmitTimeOffRequest.feature
Feature: Submit Time Off Request

In order to request time off

As a developer

I need to be able to fill out a time off request form



Scenario: Time Off Request Form Exists

When I go to "/bdd/timeoff/new"

Then I should see "New Time Off Request"



Scenario: Time Off Request Form Works

When I go to "/bdd/timeoff/new"

And I fill in "name" with "Josh"

And I fill in "reason" with "Attending a great conference"

And I press "submit"

Then I should see "Time Off Request Submitted"

features/SubmitTimeOffRequest.feature
Feature: Submit Time Off Request

In order to request time off

As a developer

I need to be able to fill out a time off request form



Scenario: Time Off Request Form Exists

When I go to "/bdd/timeoff/new"

Then I should see "New Time Off Request"



Scenario: Time Off Request Form Works

When I go to "/bdd/timeoff/new"

And I fill in "name" with "Josh"

And I fill in "reason" with "Attending a great conference"

And I press "submit"

Then I should see "Time Off Request Submitted"

features/SubmitTimeOffRequest.feature
Feature: Submit Time Off Request

In order to request time off

As a developer

I need to be able to fill out a time off request form



Scenario: Time Off Request Form Exists

When I go to "/bdd/timeoff/new"

Then I should see "New Time Off Request"



Scenario: Time Off Request Form Works

When I go to "/bdd/timeoff/new"

And I fill in "name" with "Josh"

And I fill in "reason" with "Attending a great conference"

And I press "submit"

Then I should see "Time Off Request Submitted"

features/SubmitTimeOffRequest.feature
Feature: Submit Time Off Request

In order to request time off

As a developer

I need to be able to fill out a time off request form



Scenario: Time Off Request Form Exists

When I go to "/bdd/timeoff/new"

Then I should see "New Time Off Request"



Scenario: Time Off Request Form Works

When I go to "/bdd/timeoff/new"

And I fill in "name" with "Josh"

And I fill in "reason" with "Attending a great conference"

And I press "submit"

Then I should see "Time Off Request Submitted"

features/ProcessTimeOffRequest.feature
Feature: Process Time Off Request

In order to manage my team

As a manager

I need to be able to approve and deny time off requests



Scenario: Time Off Request Management View Exists

When I go to "/bdd/timeoff/manage"

Then I should see "Manage Time Off Requests"



Scenario: Time Off Request List

When I go to "/bdd/timeoff/manage"

And I press "View"

Then I should see "Pending Time Off Request Details"



Scenario: Approve Time Off Request

When I go to "/bdd/timeoff/manage"

And I press "View"

And I press "Approve"

Then I should see "Time Off Request Approved"



Scenario: Deny Time Off Request

When I go to "/bdd/timeoff/manage"

And I press "View"

And I press "Deny"

Then I should see "Time Off Request Denied"
features/ProcessTimeOffRequest.feature
Feature: Process Time Off Request

In order to manage my team

As a manager

I need to be able to approve and deny time off requests
features/ProcessTimeOffRequest.feature
Scenario: Time Off Request Management View Exists

When I go to "/bdd/timeoff/manage"

Then I should see "Manage Time Off Requests"



Scenario: Time Off Request List

When I go to "/bdd/timeoff/manage"

And I press "View"

Then I should see "Pending Time Off Request Details"
features/ProcessTimeOffRequest.feature
Scenario: Approve Time Off Request

When I go to "/bdd/timeoff/manage"

And I press "View"

And I press "Approve"

Then I should see "Time Off Request Approved"



Scenario: Deny Time Off Request

When I go to "/bdd/timeoff/manage"

And I press "View"

And I press "Deny"

Then I should see "Time Off Request Denied"
run behat: bin/behat
Behat Output
--- Failed scenarios:
features/ProcessTimeOffRequest.feature:6
features/ProcessTimeOffRequest.feature:10
features/ProcessTimeOffRequest.feature:15
features/ProcessTimeOffRequest.feature:21
features/SubmitTimeOffRequest.feature:6
features/SubmitTimeOffRequest.feature:10
7 scenarios (1 passed, 6 failed)
22 steps (8 passed, 6 failed, 8 skipped)
0m0.61s (14.81Mb)
Behat Output
Scenario: Time Off Request Management View Exists
When I go to “/bdd/timeoff/manage"
Then I should see "Manage Time Off Requests"
The text "Manage Time Off Requests" was not found
anywhere in the text of the current page.
These failures show us that Behat is testing
our app properly, and now we just need to
write the application logic.
Specifications
Now we write specifications for how our
application should work.
These specifications should provide the logic
to deliver the results that Behat is testing for.
bin/phpspec describe AppTimeoff
PHPSpec generates a basic spec file for us
specTimeoffSpec.php
namespace specApp;



use PhpSpecObjectBehavior;

use ProphecyArgument;



class TimeoffSpec extends ObjectBehavior

{

function it_is_initializable()

{

$this->shouldHaveType('AppTimeoff');

}

}

This default spec tells PHPSpec to expect a
class named Timeoff.
Now we add a bit more to the file so PHPSpec
will understand what this class should do.
specTimeoffSpec.php
function it_creates_timeoff_requests() {

$this->create("Name", "reason")->shouldBeString();

}



function it_loads_all_timeoff_requests() {

$this->loadAll()->shouldBeArray();

}



function it_loads_a_timeoff_request() {

$this->load("uuid")->shouldBeArray();

}



function it_loads_pending_timeoff_requests() {

$this->loadPending()->shouldBeArray();

}



function it_approves_timeoff_requests() {

$this->approve("id")->shouldReturn(true);

}



function it_denies_timeoff_requests() {

$this->deny("id")->shouldReturn(true);

}
specTimeoffSpec.php
function it_creates_timeoff_requests() {

$this->create("Name", "reason")->shouldBeString();

}



function it_loads_all_timeoff_requests() {

$this->loadAll()->shouldBeArray();

}
specTimeoffSpec.php
function it_loads_a_timeoff_request() {

$this->load("uuid")->shouldBeArray();

}



function it_loads_pending_timeoff_requests() {

$this->loadPending()->shouldBeArray();

}

specTimeoffSpec.php
function it_approves_timeoff_requests() {

$this->approve("id")->shouldReturn(true);

}



function it_denies_timeoff_requests() {

$this->deny("id")->shouldReturn(true);

}
Now we run PHPSpec once more…
Phpspec output
10 ✔ is initializable
15 ! creates timeoff requests
method AppTimeoff::create not found.
19 ! loads all timeoff requests
method AppTimeoff::loadAll not found.
23 ! loads pending timeoff requests
method AppTimeoff::loadPending not found.
27 ! approves timeoff requests
method AppTimeoff::approve not found.
31 ! denies timeoff requests
method AppTimeoff::deny not found.
Lots of failures…
But wait a second - PHPSpec prompts us!
PHPSpec output
Do you want me to create `AppTimeoff::create()` for you?
[Y/n]
PHPSpec will create the class and the methods for
us!
This is very powerful with frameworks like Laravel and
Magento, which have PHPSpec plugins that help
PHPSpec know where class files should be located.
And now, the easy part…
Implementation
Implement logic in the new Timeoff class in
the locations directed by PHPSpec
Implement each function one at a time, running
phpspec after each one.
specTimeoffSpec.php
public function create($name, $reason)

{

$uuid1 = Uuid::uuid1();

$uuid = $uuid1->toString();

DB::table('requests')->insert([

'name' => $name,

'reason' => $reason,

'uuid' => $uuid,

]);

return $uuid;

}
specTimeoffSpec.php
public function load($uuid) {

$results = DB::select('select * from requests WHERE
uuid = ?', [$uuid]);

return $results;

}
specTimeoffSpec.php
public function loadAll()

{

$results = DB::select('select * from requests');

return $results;

}
specTimeoffSpec.php
public function loadPending()

{

$results = DB::select('select * from requests WHERE
reviewed = ?', [0]);

return $results;

}
specTimeoffSpec.php
public function approve($uuid)

{

DB::update('update requests set reviewed = 1,
approved = 1 where uuid = ?', [$uuid]);

return true;

}
specTimeoffSpec.php
public function deny($uuid)

{

DB::update('update requests set reviewed = 1,
approved = 0 where uuid = ?', [$uuid]);

return true;

}
phpspec should be returning all green
Move on to implementing the front-end
behavior
Using Lumen means our view/display logic is
very simple
appHttproute.php
$app->get('/bdd/', function() use ($app) {

return "Welcome to the world of BDD";

});
appHttproute.php
$app->get('/bdd/timeoff/new/', function() use ($app) {

if(Request::has('name')) {

$to = new AppTimeoff();

$name = Request::input('name');

$reason = Request::input('reason');

$to->create($name, $reason);

return "Time off request submitted";

} else {

return view('request.new');

}

});
appHttproute.php
$app->get('/bdd/timeoff/manage/', function() use ($app) {

$to = new AppTimeoff();

if(Request::has('uuid')) {

$uuid = Request::input('uuid');

if(Request::has('process')) {

$process = Request::input('process');

if($process == 'approve') {

$to->approve($uuid);

return "Time Off Request Approved";

} else {

if($process == 'deny') {

$to->deny($uuid);

return "Time Off Request Denied";

}

}

} else {

$request = $to->load($uuid);

return view('request.manageSpecific', ['request' => $request]);

}

} else {

$requests = $to->loadAll();

return view('request.manage', ['requests' => $requests]);

}
appHttproute.php
$app->get('/bdd/timeoff/manage/', function() use ($app) {

$to = new AppTimeoff();

if(Request::has('uuid')) {

$uuid = Request::input('uuid');

if(Request::has('process')) {

$process = Request::input('process');

if($process == 'approve') {

$to->approve($uuid);

return "Time Off Request Approved";

} else {

if($process == 'deny') {

$to->deny($uuid);

return "Time Off Request Denied";

}

}
…
appHttproute.php
…

} else {

$request = $to->load($uuid);

return view('request.manageSpecific',
['request' => $request]);

}
…
appHttproute.php
…

} else {

$requests = $to->loadAll();

return view('request.manage', ['requests' =>
$requests]);

}
Our views are located in resourcesviewsrequest and
are simple HTML forms
Once we’re done with the implementation, we
move on to…
Testing
Once we’re done, running phpspec run should
return green
Once phpspec returns green, run behat, which
should return green as well
We now know that our new feature is working
correctly without needing to open a web
browser
This allows us to flow from function to
function as we implement our app, without
breaking our train of thought.
PHPSpec gives us confidence that the
application logic was implemented correctly.
Behat gives us confidence that the feature is
being displayed properly to users.
Running both as we refactor and add new
features will give us confidence we haven’t
broken an existing feature
Success!
Our purpose today was to get you hooked on
Behat & PHPSpec and show you how easy it is
to get started.
Behat and PHPSpec are both powerful tools
PHPSpec can be used at a very granular level
to ensure your application logic works
correctly
Advanced Behat & PHPSpec
I encourage you to learn more about Behat &
phpspec. Here’s a few areas to consider…
Parallel Execution
A few approaches to running Behat in parallel
to improve it’s performance. Start with:
shvetsgroup/ParallelRunner
Behat - Reusable Actions
“I should see”, “I go to” are just steps - you can
write your own steps.
Mocking & Prophesying
Mock objects are simulated objects that
mimic the behavior of real objects
Helpful to mock very complex objects, or
objects that you don’t want to call while
testing - i.e., APIs
Prophecy is a highly opinionated PHP mocking
framework by the Phpspec team
Take a look at the sample code on Github - I
mocked a Human Resource Management
System API
Mocking with Prophecy
$this->prophet = new ProphecyProphet;
$prophecy = $this->prophet->prophesize('AppHrmsApi');
$prophecy->getUser(Argument::type('string'))-
>willReturn('name');
$prophecy->decrement('name', Argument::type('integer'))-
>willReturn(true);
$dummyApi = $prophecy->reveal();
PhantomJS
Can use PhantomJS with Behat to render
Javascript, including automated screenshots
and screenshot comparison
Two Tasks For You
Next week, setup Behat and PHPSpec on one
of your projects and take it for a quick test by
implementing one short feature.
Keep In Touch!
• joind.in/14919
• @JoshuaSWarren
• JoshuaWarren.com

Weitere ähnliche Inhalte

Was ist angesagt?

Devoxx 09 (Belgium)
Devoxx 09 (Belgium)Devoxx 09 (Belgium)
Devoxx 09 (Belgium)
Roger Kitain
 
CICONF 2012 - Don't Make Me Read Your Mind
CICONF 2012 - Don't Make Me Read Your MindCICONF 2012 - Don't Make Me Read Your Mind
CICONF 2012 - Don't Make Me Read Your Mind
ciconf
 
HTML5 for PHP Developers - IPC
HTML5 for PHP Developers - IPCHTML5 for PHP Developers - IPC
HTML5 for PHP Developers - IPC
Mayflower GmbH
 

Was ist angesagt? (19)

Developing and testing ajax components
Developing and testing ajax componentsDeveloping and testing ajax components
Developing and testing ajax components
 
Web driver selenium simplified
Web driver selenium simplifiedWeb driver selenium simplified
Web driver selenium simplified
 
API Technical Writing
API Technical WritingAPI Technical Writing
API Technical Writing
 
Migration testing framework
Migration testing frameworkMigration testing framework
Migration testing framework
 
Writing automation tests with python selenium behave pageobjects
Writing automation tests with python selenium behave pageobjectsWriting automation tests with python selenium behave pageobjects
Writing automation tests with python selenium behave pageobjects
 
Even Faster Web Sites at jQuery Conference '09
Even Faster Web Sites at jQuery Conference '09Even Faster Web Sites at jQuery Conference '09
Even Faster Web Sites at jQuery Conference '09
 
Gherkin for test automation in agile
Gherkin for test automation in agileGherkin for test automation in agile
Gherkin for test automation in agile
 
Devoxx 09 (Belgium)
Devoxx 09 (Belgium)Devoxx 09 (Belgium)
Devoxx 09 (Belgium)
 
ForwardJS 2017 - Fullstack end-to-end Test Automation with node.js
ForwardJS 2017 -  Fullstack end-to-end Test Automation with node.jsForwardJS 2017 -  Fullstack end-to-end Test Automation with node.js
ForwardJS 2017 - Fullstack end-to-end Test Automation with node.js
 
CICONF 2012 - Don't Make Me Read Your Mind
CICONF 2012 - Don't Make Me Read Your MindCICONF 2012 - Don't Make Me Read Your Mind
CICONF 2012 - Don't Make Me Read Your Mind
 
HTML5 for PHP Developers - IPC
HTML5 for PHP Developers - IPCHTML5 for PHP Developers - IPC
HTML5 for PHP Developers - IPC
 
Apigility – Lightning Fast API Development - OSSCamp 2014
Apigility – Lightning Fast API Development - OSSCamp 2014 Apigility – Lightning Fast API Development - OSSCamp 2014
Apigility – Lightning Fast API Development - OSSCamp 2014
 
Enterprise AIR Development for JavaScript Developers
Enterprise AIR Development for JavaScript DevelopersEnterprise AIR Development for JavaScript Developers
Enterprise AIR Development for JavaScript Developers
 
Testing C# and ASP.net using Ruby
Testing C# and ASP.net using RubyTesting C# and ASP.net using Ruby
Testing C# and ASP.net using Ruby
 
Pragmatic Parallels: Java and JavaScript
Pragmatic Parallels: Java and JavaScriptPragmatic Parallels: Java and JavaScript
Pragmatic Parallels: Java and JavaScript
 
Moving away from legacy code with BDD
Moving away from legacy code with BDDMoving away from legacy code with BDD
Moving away from legacy code with BDD
 
API Documentation -- Presentation to East Bay STC Chapter
API Documentation -- Presentation to East Bay STC ChapterAPI Documentation -- Presentation to East Bay STC Chapter
API Documentation -- Presentation to East Bay STC Chapter
 
HTML5: what's new?
HTML5: what's new?HTML5: what's new?
HTML5: what's new?
 
merb.intro
merb.intromerb.intro
merb.intro
 

Andere mochten auch

Andere mochten auch (11)

Get Out of the Back Row! A Community Involvement Primer - #OpenWest
Get Out of the Back Row! A Community Involvement Primer - #OpenWestGet Out of the Back Row! A Community Involvement Primer - #OpenWest
Get Out of the Back Row! A Community Involvement Primer - #OpenWest
 
High Stakes Continuous Delivery in the Real World #OpenWest
High Stakes Continuous Delivery in the Real World #OpenWestHigh Stakes Continuous Delivery in the Real World #OpenWest
High Stakes Continuous Delivery in the Real World #OpenWest
 
Creatuity's Secrets To Ecommerce Project Success
Creatuity's Secrets To Ecommerce Project SuccessCreatuity's Secrets To Ecommerce Project Success
Creatuity's Secrets To Ecommerce Project Success
 
Automated Testing Talk from Meet Magento New York 2014
Automated Testing Talk from Meet Magento New York 2014Automated Testing Talk from Meet Magento New York 2014
Automated Testing Talk from Meet Magento New York 2014
 
How I Learned to Stop Worrying and Love Composer - php[world] 2015
How I Learned to Stop Worrying and Love Composer - php[world] 2015How I Learned to Stop Worrying and Love Composer - php[world] 2015
How I Learned to Stop Worrying and Love Composer - php[world] 2015
 
Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015
Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015
Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015
 
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015
 
A Successful Magento Project From Design to Deployment
A Successful Magento Project From Design to DeploymentA Successful Magento Project From Design to Deployment
A Successful Magento Project From Design to Deployment
 
Magento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second CountsMagento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second Counts
 
Magento 2 Development for PHP Developers
Magento 2 Development for PHP DevelopersMagento 2 Development for PHP Developers
Magento 2 Development for PHP Developers
 
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
 

Ähnlich wie pnwphp - PHPSpec & Behat: Two Testing Tools That Write Code For You

Behavior & Specification Driven Development in PHP - #OpenWest
Behavior & Specification Driven Development in PHP - #OpenWestBehavior & Specification Driven Development in PHP - #OpenWest
Behavior & Specification Driven Development in PHP - #OpenWest
Joshua Warren
 
Passing The Joel Test In The PHP World
Passing The Joel Test In The PHP WorldPassing The Joel Test In The PHP World
Passing The Joel Test In The PHP World
Lorna Mitchell
 

Ähnlich wie pnwphp - PHPSpec & Behat: Two Testing Tools That Write Code For You (20)

Behavior & Specification Driven Development in PHP - #OpenWest
Behavior & Specification Driven Development in PHP - #OpenWestBehavior & Specification Driven Development in PHP - #OpenWest
Behavior & Specification Driven Development in PHP - #OpenWest
 
Php[tek] 2016 - BDD with Behat for Beginners
Php[tek] 2016 - BDD with Behat for BeginnersPhp[tek] 2016 - BDD with Behat for Beginners
Php[tek] 2016 - BDD with Behat for Beginners
 
BDD with Behat and Symfony2
BDD with Behat and Symfony2BDD with Behat and Symfony2
BDD with Behat and Symfony2
 
Functional testing with behat
Functional testing with behatFunctional testing with behat
Functional testing with behat
 
Zend con 2016 bdd with behat for beginners
Zend con 2016   bdd with behat for beginnersZend con 2016   bdd with behat for beginners
Zend con 2016 bdd with behat for beginners
 
Improving qa on php projects
Improving qa on php projectsImproving qa on php projects
Improving qa on php projects
 
Enterprise PHP (PHP London Conference 2008)
Enterprise PHP (PHP London Conference 2008)Enterprise PHP (PHP London Conference 2008)
Enterprise PHP (PHP London Conference 2008)
 
PHPConf.asia 2016 - BDD with Behat for Beginners
PHPConf.asia 2016 - BDD with Behat for BeginnersPHPConf.asia 2016 - BDD with Behat for Beginners
PHPConf.asia 2016 - BDD with Behat for Beginners
 
PHP
PHPPHP
PHP
 
Behavioral tests with behat for qa
Behavioral tests with behat for qaBehavioral tests with behat for qa
Behavioral tests with behat for qa
 
Behat - human-readable automated testing
Behat - human-readable automated testingBehat - human-readable automated testing
Behat - human-readable automated testing
 
Cqrs api
Cqrs apiCqrs api
Cqrs api
 
Php Development Stack
Php Development StackPhp Development Stack
Php Development Stack
 
Php Development Stack
Php Development StackPhp Development Stack
Php Development Stack
 
BDD with SpecFlow and Selenium
BDD with SpecFlow and SeleniumBDD with SpecFlow and Selenium
BDD with SpecFlow and Selenium
 
Passing The Joel Test In The PHP World
Passing The Joel Test In The PHP WorldPassing The Joel Test In The PHP World
Passing The Joel Test In The PHP World
 
Apache httpd v2.4
Apache httpd v2.4Apache httpd v2.4
Apache httpd v2.4
 
Apache HTTPD 2.4 - GWO2016
Apache HTTPD 2.4 - GWO2016Apache HTTPD 2.4 - GWO2016
Apache HTTPD 2.4 - GWO2016
 
[drupalday2017] - Behat per Drupal: test automatici e molto di più
[drupalday2017] - Behat per Drupal: test automatici e molto di più[drupalday2017] - Behat per Drupal: test automatici e molto di più
[drupalday2017] - Behat per Drupal: test automatici e molto di più
 
Behaviour Driven Development
Behaviour Driven DevelopmentBehaviour Driven Development
Behaviour Driven Development
 

Mehr von Joshua Warren

Mehr von Joshua Warren (14)

Enhancing the Customer Experience with Chatbots
Enhancing the Customer Experience with ChatbotsEnhancing the Customer Experience with Chatbots
Enhancing the Customer Experience with Chatbots
 
Transforming the Customer Experience Across 100 Stores with Magento
Transforming the Customer Experience Across 100 Stores with MagentoTransforming the Customer Experience Across 100 Stores with Magento
Transforming the Customer Experience Across 100 Stores with Magento
 
Its Just Commerce - IRCE 2018
Its Just Commerce - IRCE 2018Its Just Commerce - IRCE 2018
Its Just Commerce - IRCE 2018
 
Rural King Case Study from the Omnichannel Retail Summit
Rural King Case Study from the Omnichannel Retail SummitRural King Case Study from the Omnichannel Retail Summit
Rural King Case Study from the Omnichannel Retail Summit
 
Avoiding Commerce Extinction: Lessons from Retail Dinosaurs
Avoiding Commerce Extinction: Lessons from Retail DinosaursAvoiding Commerce Extinction: Lessons from Retail Dinosaurs
Avoiding Commerce Extinction: Lessons from Retail Dinosaurs
 
Building a Global B2B Empire: Using Magento to Power International Expansion
Building a Global B2B Empire: Using Magento to Power International ExpansionBuilding a Global B2B Empire: Using Magento to Power International Expansion
Building a Global B2B Empire: Using Magento to Power International Expansion
 
Magento 2 ERP Integration Best Practices: Microsoft Dynamics
Magento 2 ERP Integration Best Practices: Microsoft DynamicsMagento 2 ERP Integration Best Practices: Microsoft Dynamics
Magento 2 ERP Integration Best Practices: Microsoft Dynamics
 
What's New With Magento 2?
What's New With Magento 2?What's New With Magento 2?
What's New With Magento 2?
 
Pay No Attention to the Project Manager Behind the Curtain: A Magento 2 Tell-All
Pay No Attention to the Project Manager Behind the Curtain: A Magento 2 Tell-AllPay No Attention to the Project Manager Behind the Curtain: A Magento 2 Tell-All
Pay No Attention to the Project Manager Behind the Curtain: A Magento 2 Tell-All
 
Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016
Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016
Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016
 
Work Life Balance for Passionate Developers - Full Stack Toronto 2015 Edition
Work Life Balance for Passionate Developers - Full Stack Toronto 2015 EditionWork Life Balance for Passionate Developers - Full Stack Toronto 2015 Edition
Work Life Balance for Passionate Developers - Full Stack Toronto 2015 Edition
 
Work-Life Balance For Passionate Geeks - #OpenWest
Work-Life Balance For Passionate Geeks - #OpenWestWork-Life Balance For Passionate Geeks - #OpenWest
Work-Life Balance For Passionate Geeks - #OpenWest
 
The Care and Feeding of Magento Developers
The Care and Feeding of Magento DevelopersThe Care and Feeding of Magento Developers
The Care and Feeding of Magento Developers
 
Magento, Client, Budget, Test Driven Development - What You Can, Can’t And Mu...
Magento, Client, Budget, Test Driven Development - What You Can, Can’t And Mu...Magento, Client, Budget, Test Driven Development - What You Can, Can’t And Mu...
Magento, Client, Budget, Test Driven Development - What You Can, Can’t And Mu...
 

Kürzlich hochgeladen

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Kürzlich hochgeladen (20)

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 

pnwphp - PHPSpec & Behat: Two Testing Tools That Write Code For You