Stories recently tagged with 'BDD'

Behavior Driven Development (BDD) with SpecFlow and ASP.NET MVC(blog.stevensanderson.com)

submitted by desmonddesmond(2009) 1 year, 11 months ago

How does BDD compare with TDD, and how can you use BDD-style tools such as Cucumber and SpecFlow with ASP.NET MVC? Steve Sanderson considers the options, and provides an example of combining ASP.NET MVC 2, SpecFlow, and WatiN. read more...

1 comment |category: |Views: 548

tags: another

Automocking and BDD style tests with NUnit(geekswithblogs.net)

submitted by ignuignu(105) 2 years, 8 months ago

A low friction approach to get rolling with TDD/BDD. read more...

add a comment |category: |Views: 46

tags: another

Toward a Better Use of Context/Specification(stevenharman.net)

submitted by usshermussherm(5285) 2 years, 8 months ago

have you hand-rolled your own base class for your Context/Specification style specs? Curious whats different between a Context/Specification base class and a typical unit testing base class? read on... read more...

add a comment |category: |Views: 39

tags: another

Specification Testing in .NET using Ruby(xerxesb.com)

submitted by xerxesbxerxesb(60) 2 years, 9 months ago

The purpose of this post is to run through a process which will ultimately allow you to write Ruby based specifications for your .NET code. Why would you want to do this? The intended purpose for this practice is to gain the most benefit when doing BDD. Trying to do BDD in C# results in a lot of syntactical noise in the code which distracts from the goal of having clear, readable specifcations of how the intended function should behave. The advantage of using Ruby is that the scripted nature of the language allows physical (as well as logical) separation of speficiations from code, opening up the realm of possibility that specifications are written by non-technical folk. Furthermore, the Ruby syntax lends itself to building DSLs perfect for the purpose of allowing clean, almost human-readable code. read more...

add a comment |category: |Views: 20

tags: another

Code Contracts - TDD in a DbC World (codebetter.com)

submitted by benhartbenhart(100) 3 years, 2 months ago

As developers start to discover the upcoming Code Contracts for .NET 4.0, it's important to understand not only Design by Contract, and TDD, but how they can complement each other. For business value, we as developers need to flush out our design through the use of TDD, and we can refactor into using contracts for our constraints over time. With these methodologies in place, the edge cases will melt away and help us ensure DRY and write more concise code directly having business value. read more...

add a comment |category: |Views: 27

tags: another

TDD / BDD Example(code.mattcalla.com)

submitted by mattcallamattcalla(95) 3 years, 6 months ago

"How-to" example of TDD / BDD read more...

add a comment |category: |Views: 325

tags: another

Doing BDD, with Rhino Mocks AAA syntax (morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 7 months ago

Ayende proposed a new AAA syntax in Rhino Mocks. I was wondering how it mixed with BDD. read more...

add a comment |category: |Views: 241

tags: another

Doing BDD, when expecting an exception (morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 7 months ago

I really like the look of my tests specifications, they read almost like plain English. After fumbling around for a while, I finally get how to specify an expected exception. read more...

add a comment |category: |Views: 20

tags: another

Doing BDD(morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 7 months ago

Basically it a shift towards specifying behavior instead of testing behavior. The specification consists of 3 parts: 1: A namespace with called "Specs_for_subject" 2: One or more classes called "When_operation_on_state", with a SetUp/Init method that performs the "operation_on_state" 3: One or more methods called "Should_expectation" read more...

add a comment |category: |Views: 30

tags: another

Save Your Fingers, Use a BDD AutoHotKey Script!(stevenharman.net)

submitted by usshermussherm(5285) 3 years, 8 months ago

Using a bdd_style_naming_convention_for_you_specifications? Save yourself some time and keystrokes by using BDD AutoHotKey Script. read more...

add a comment |category: |Views: 39

tags: another

Executable Specifications - Part 2(agilemicroisv.com)

submitted by timhaughtontimhaughton(30) 3 years, 11 months ago

Second part of an article about BDD (Behaviour Driven Development). read more...

add a comment |category: |Views: 18

tags: another

BDD Spec Generator(mattcalla.com)

submitted by mattcallamattcalla(95) 3 years, 11 months ago

A little app to turn BDD tests/specs into a non-developer readable text document. read more...

add a comment |category: |Views: 29

tags: another

Test Supported Development (TSD) is not Test Driven Development (TDD) (blog.troyd.net)

submitted by powerrushpowerrush(3873) 4 years ago

"Test Supported Development" (TSD) intends to characterize the creation of tests during ANY/ALL stages of development, that is, tests are not necessarily created before their respective System Under Test (SUT), but not necessarily created as an afterthought, either... read more...

2 comments |category: |Views: 28

tags: another

Expectation Based Testing with Mocks(stevenharman.net)

submitted by usshermussherm(5285) 4 years ago

An example and walk-through showing how to use mocks, Rhino.Mocks that is, to do expectation based testing... with a little BDD flavor thrown in just for fun. read more...

add a comment |category: |Views: 10

tags: another

BDD Style Naming Macro(mattcalla.com)

submitted by mattcallamattcalla(95) 4 years ago

A handy BDD naming macro that speeds up your development time by formatting your naturally written sentences into a properly constructed test case shell. read more...

add a comment |category: |Views: 31

tags: another

Specter behavior-driven development framework 0.8 release(specter.sourceforge.net)

submitted by cedricvcedricv(85) 4 years, 1 month ago

Specter enables behavior driven development (BDD) by allowing developers to write executable specifications for their objects, before actually implementing them. This new release brings many improvement, including standalone spec runners (along with better NUnit integration) and a new 'subject' macro. read more...

add a comment |category: |Views: 5

tags: another