I'm Java developer! Coding is base of our profession. It's testing is somewhere nearby. Honestly - I hate writing unit tests. Subconsciously I can not accept the fact that I have to write 20 lines of code in order to test 5. You can make mistake in any code, even the one, which intended to test another one, what about them? In addition you have to know bunch of testing frameworks (JMock, EasyMock, PowerMock), testing standards, best practices, etc.
Please, don't get me wrong, I do not belittle importance of testing. I was writing those tests even without excessive passion. I just didn't like the way I had to do it. And apparently, in one one of our projects client insisted on Spock - another framework for testing, but on Groovy. "Happy client!" - is our company mantra, so we are learning new for us framework, and..... HERE IT IS! For the first time testing become simple, logic, intuitive and FAST!
Please, don't get me wrong, I do not belittle importance of testing. I was writing those tests even without excessive passion. I just didn't like the way I had to do it. And apparently, in one one of our projects client insisted on Spock - another framework for testing, but on Groovy. "Happy client!" - is our company mantra, so we are learning new for us framework, and..... HERE IT IS! For the first time testing become simple, logic, intuitive and FAST!