Coding and Testing

0 comments

Code is not ready for release until unit test cases are run and verified. It is always recommended that this rule is religiously followed no matter how little changes that the programmer might have done. Recently I had to relearn this rule the hard way. Confident that nothing would have got broken with the kind of changes that I did, I merged the changes to mainline with out complete testing. The code was released to the test team. And when I attend the office the next day and check my mail, there is a high severity bug reported. A bug so severe it had blocked a huge chunk of test cases of the test team. I had to resubmit the code with the fix sooner. The fix was trivial, thanks to Rational clearcase, I could diff the versions of code and find the cause for the issue. The lessons learnt are, always do complete analysis of the difference b/w the mainline code which has been thoroughly tested and the changed version before merging the codes. And do exhaustive testing before release of the code to avoid the test team report embarrassing issues. The time for testing might be greater than the time invested for writing code but still DO the testing. Lastly I would say that I have fallen in love with the Rational clearcase. I haven’t had experience on any other but I say any amount that might be quoted for the license of the tool is highly justifiable!

IPL

0 comments
The IPL cricket has begun. But somehow I am not finding it a least bit interesting. The first thing that puts me off with IPL is the names of the teams in the tournament. A huge amount of money has been thrown in, still no creative thought given in naming the teams! I am not an avid fan of cricket. But if at all I watch it on TV is just when players like Sachin and Lara are in their flow. The T20 is just going to display mediocre cricketing skills and one would not get to see graceful cricket.