For Programmers: Free Programming Magazines  


Home > Archive > Extreme Programming > February 2005 > Re: nUnit BLL & DAL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: nUnit BLL & DAL
jon.lind@gmail.com

2005-02-10, 3:57 pm

I would start by writing a simple test for your BLL component. It will
fail, of course, but that's o.k. Then work your way back down the call
stack to the point where you are getting data back.

A failing test is o.k., and even expected, when you first start
creating your tests. Create the test, watch it fail, then start doing
the things necessary for it to succeed. If you write a test that shows
a success without actually getting the tables back, you won't know if
something breaks in the DAL later on so this is probably a good
technique.

Anyway, good luck!

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com