Skip navigation.
Home

software

scott's picture

BarCamp Austin (SxSW)

03/13/2009 - 09:00
03/15/2009 - 22:00
Etc/GMT-5

No details yet on where

scott's picture

iPhone Dev Camp

12/07/2008 - 13:00
12/07/2008 - 17:00
Etc/GMT-5

At Conjunctured, Austin, TX

scott's picture

iPhone Dev Camp

12/06/2008 - 13:00
12/06/2008 - 17:00
Etc/GMT-5

At Conjunctured, Austin, TX

scott's picture

Software requirements

Have you ever had this happen to you?

Customer and Marketing/Sales
Customer: If your software had this feature I would buy it.
Marketing/Sales: We're working on it and it'll be in the next release.
Customer: When is the next release?
Marketing/Sales: We can't officially say when that is. *wink* *wink* But we normally have a release right before the next major trade show.

Marketing/Sales team and Development Manager
Marketing/Sales: Add this feature to our software.

scott's picture

Unit tests

Everyone should start using unit tests for all development projects if you're not already.

There are so many times I've had to look at code to find a bug that could have easily been discovered at the initial coding and testing phase yet made it all the way into production code. Here is an example of a simple method with a unit test. It is not important what the method is doing here, what is more important is the unit testing that tests multiple input and return values.

Here is a sample class puzzle with a method rowForPosition that we want to unit test.

Syndicate content