2 videos are tagged with bdd

Vlcsnap 2010 10 05 15h04m07s132 thumb
Rating: Everyone
Viewed 1,747 times
Recorded at: November 4, 2007
Date Posted: October 5, 2010

755 rubymidwest2011 test your legacy rails code thumb 0003 thumb
Rating: Everyone
Viewed 2,515 times
Recorded at: November 4, 2011
Date Posted: January 4, 2012

Everybody wants to do test-driven development, but switching to TDD or BDD on an existing project that doesn't have tests presents special challenges. Often, the current code is a tangled mess of dependencies that defeats the very concept of unit testing. Worse, if somebody has attempted TDD in the past, you might have a test suite that needs to be fixed before any new tests can be written.

Don't give up. Adding test-coverage and TDD to your application will make it easier.

This session will describe techniques that you can use to bootstrap a test-driven process into your project. You'll see how to use "black-box" techniques that don't depend on the structure of the code and "white-box" techniques that interact with the code more directly.

Topics covered will include:

* Using Cucumber to perform black-box testing.
* Using RSpec to perform white-box testing