Don't always test your code. Always test code that needs testing (i.e production code) but never cargo cult.
It's just fine to bang out scripts or hobby projects you can see work easily enough without formal tests. In the real world not everything is tested (although probably more stuff should be than is).