News for hackers. Stuff that matters.
Re:How Facebook Ships Code by rimantas on Thursday July 05, 2012 @07:16AM (#4202579)
No please tell me, how did you learn to write unit test which cover all the crazy data configurations users are able to come with.
Re:How Facebook Ships Code by gioele on Thursday July 05, 2012 @08:38AM (#4202750)
Boundary value analysis? Machine state transitions testing? Equivalence partitioning?

There are heaps of techniques one can use to identify which data points and combinations are useful to test. Some of these techniques even take a peek at your code to highlight the possible pain points.

Re:How Facebook Ships Code by gaius on Thursday July 05, 2012 @09:13AM (#4202859)
LOL! You think someone who's drunk the unit testing kool-aid has even heard of any of that?
Re:How Facebook Ships Code by wpietri on Thursday July 05, 2012 @09:49AM (#4202984)
You have to start somewhere. If I have to choose between a world where people never test and one where they test but aren't very good at it yet, I'll definitely take the latter.

Of course, I'm still filled with rage when I find a cargo-cult suite of unit tests. But it's so much easier to convince those people to write smarter tests than it is to deal with the team that has no time to write tests because they're spending all their time debugging.

Re:How Facebook Ships Code by alttab on Thursday July 05, 2012 @08:36AM (#4202743)
By being able to design software that doesn't need or allow crazy data configurations.

My whole mantra is don't manage complexity: avoid it.

Re:How Facebook Ships Code by gouranga on Thursday July 05, 2012 @09:59AM (#4203017)
You nailed it - thanks for the absolutely spot on comment.

Design is the key word here. It requires thought, it requires intelligence and it requires multiple people's input.