01.02.2013 Views

Software Development Cross Solution - Index of - Free

Software Development Cross Solution - Index of - Free

Software Development Cross Solution - Index of - Free

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Standup meeting<br />

testing and continuous integration<br />

Laura: I really wish we knew all this going in...before we started doing<br />

demos with the customer.<br />

Bob: Yeah, I could have run tests on my code, and known I’d screwed up the<br />

other user story when I got mine to work. Anything to get us to full coverage...<br />

Mark: Whoa, I’m not sure full coverage is reasonable. You ever heard <strong>of</strong> the<br />

80/20 rule? Why spend all our time on a tiny bit <strong>of</strong> the code that probably<br />

won’t ever get run?<br />

Bob: Well, I’m going for 100%. I figure with another few days <strong>of</strong> writing<br />

tests, I can get there.<br />

Mark: A few days? We don’t have time for that; don’t you have a lot <strong>of</strong><br />

GUI code to work on?<br />

Laura: I agree. But I’m not sure we can even get to 80% coverage: there’s a<br />

lot <strong>of</strong> complex code buried pretty deep in the GUI, and I’m not sure how to<br />

write tests to get to all <strong>of</strong> that stuff.<br />

Mark: Hmmm...what about 50%? We could start there, and then add tests<br />

for things we think are missing. The coverage report will tell us what we’re<br />

missing, right?<br />

Bob: Yeah, we can look at which methods we’re not calling. If we could hit<br />

every method, and then test the edge cases on code that’s used a lot, that’s<br />

pretty good...<br />

Laura: Sounds like a plan...You just committed some stuff, right? I’ll check<br />

the coverage report as soon as CruiseControl finishes its build.<br />

Download at WoweBook.Com<br />

you are here 4 269

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!