Yes, absolutely. 

As said below, they are two aspects that both contribute to the overall
test code base and quality assurance of the system.

And running BDD scenarios via tools like JUnit allows one to also
measure the code coverage exercised by BDD tests.

On 26/08/2010 12:40, [email protected] wrote:
> Sorry, slip of the keyboard.  For unit tests read test code. 
>
> I would assert however that unit tests can contribute a lot of steps 
> towards that test code set if written in a suitable way.  The test code 
> base for exercising BDD scenarios however is not just confined to code 
> written to do unit testing.
>
> Rob
>
>
>
> Mauro Talevi <[email protected]> wrote on 26/08/2010 11:28:33:
>
>> [image removed] 
>>
>> Re: [jbehave-user] Another examples question (behaviour)
>>
>> Mauro Talevi 
>>
>> to:
>>
>> user
>>
>> 26/08/2010 11:32
>>
>>
>> I don't quite agree with Rob's diagram:  scenarios --> unit-tests
>>
>> True BDD scenarios may be run "technically" via JUnit but that does not
>> make them unit-tests, just like one can run integration tests via
>> JUnit.    The nature of testing has more to do with the objective it has
>> and the elements it interacts with.
>
>
> ***********************************************************************************
>  This e-mail and attachments are intended for the above name only and may be 
> confidential. If they have come to you in error, you must take no action 
> based on them, nor must copy or show them to anyone; please reply to this 
> e-mail and report the error. 
> Security warning: Please note that this e-mail has been created in the 
> knowledge that the internet is not a one hundred percent secure communication 
> medium. We advise that you understand and observe this lack of security when 
> e-mailing us. 
> Virus: Although we have taken steps to ensure that this e-mail and 
> attachments are free from any virus, we advise that in keeping with good 
> practice the recipient should ensure they are actually virus free. 
> If you have received this e-mail in error please notify: 
> [email protected]
> YELL ADWORKS is a business name of YELL MEDIAWORKS LIMITED
> Registered Office: Queens Walk, Oxford road, Reading, Berkshire, England, RG1 
> 7PT.
> Registered in England and Wales, registered number 06649631
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to