Unit Testing: Don’t Ever Sacrifice It

I was reading this article at JavaWorld.com, where the author makes the argument that unit testing is a means to an end, and that once you are finished unit testing, you are not finished with the project. There are other types of testing to be done, integration testing in particular. While I agree that integration testing is hard and exposes flaws (not to mention poorly defined interfaces), it seems like the author is saying that in a resource-constrained project environment, unit testing may have to be dropped in favour of other types of testing (like integration testing).
My argument is: if your most basic units don’t function as intended, integration testing will fail anyway. So do not ever, ever, ever, sacrifice unit testing. It is fundamental.
To me, unit testing gives the project its first confidence boost: that the code works as designed. All of the code paths that can be reasonably testing work. Why ever sacrifice that?
What do you think?

God and Guns: Vote GOP!

Hypocrisy irritates me. Speaking of hypocrisy, this is an election year, and the GOP primaries are in full swing. This week’s topic: morality!

While I believe Mr. Santorum is sincere when he spouts his brand of noise, claiming America’s moral decline is due to the number of unwed mothers, in the end, the GOP utopia is the World of “Bladerunner” where everything is privatized and corporations run the world (we are closer to this than you might think).

The GOP only cozies up to the religious right and the second amendment with their scare tactics to get the votes to bring that utopia to pass (after all they represent only 1%, which isn’t enough votes). The don’t give one tiny toot about morality.

Truth be told, the U.S. is a plutocracy; a system set up to (a) protect the wealthy and (b) make sure the system perpetuates itself. All this talk of morality is scare-noise meant to frighten the religious right into voting GOP.

And it works.