Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
symfony2 and BDD fundamentals
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sören Martius  
View profile  
 More options Jun 12 2012, 6:08 pm
From: Sören Martius <soeren.mart...@googlemail.com>
Date: Tue, 12 Jun 2012 15:08:07 -0700 (PDT)
Local: Tues, Jun 12 2012 6:08 pm
Subject: symfony2 and BDD fundamentals
Hi folks,

i have an easy question.
When i test my application with behat is it also necessary to write
unittest with phpunit or does behat all the jobs for me?
I am trying to start to develop with bdd.

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Badolato  
View profile  
 More options Jun 12 2012, 6:22 pm
From: Mark Badolato <mbadol...@gmail.com>
Date: Tue, 12 Jun 2012 15:22:16 -0700
Local: Tues, Jun 12 2012 6:22 pm
Subject: Re: [Symfony2] symfony2 and BDD fundamentals

Behat is for acceptance tests and phpunit is for unit (and functional)
tests.  They cover different aspects of testing.

Acceptance tests are for validating that your user stories/use cases are
correct
Unit tests are for testing the individual modules as a single unit (i.e.,
mock any dependencies the modules have), ensuring functionality is as
expected
Functional tests are for testing that your modules are wired together and
that your application is functioning as expected, that all paths through
the application work as expected, etc.

Some say there is a fine line between Acceptance tests and Functional
tests, but Acceptance tests are meant to be written by non developers
(business analysts, QA, etc), and Behat's use of the Gherkin syntax aids in
providing that functionality.

Optimally, you should be using all three forms of testing.

--mark

On Tue, Jun 12, 2012 at 3:08 PM, Sören Martius <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sören Martius  
View profile  
 More options Jun 12 2012, 6:33 pm
From: Sören Martius <soeren.mart...@googlemail.com>
Date: Tue, 12 Jun 2012 15:33:16 -0700 (PDT)
Local: Tues, Jun 12 2012 6:33 pm
Subject: Re: symfony2 and BDD fundamentals
Thanks for the great explanation.

Is it correct that the most used and importand test is UnitTesting
cause of testing all the business Logic(such as models)?

I thought functional Tests are Tests like Selenium Tests , which
emulates an browser and tests the correct functionality?

On 13 Jun., 00:22, Mark Badolato <mbadol...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sören Martius  
View profile  
 More options Jun 13 2012, 6:23 am
From: Sören Martius <soeren.mart...@googlemail.com>
Date: Wed, 13 Jun 2012 03:23:32 -0700 (PDT)
Local: Wed, Jun 13 2012 6:23 am
Subject: Re: symfony2 and BDD fundamentals
anyone here who can answer this question?

On 13 Jun., 00:33, Sören Martius <soeren.mart...@googlemail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »