Wednesday 10 September 2014

8 Best Practices in Software Testing


Article I wrote for Infosys Newletter -


Best Practices in Software Testing
By Azfar Alam, Principal Consultant, FSI-IVS

‘Best Practices in Software Testing’ is a topic on which anyone who has ever been involved in Testing, will have a view.  Also, anyone can spend a few minutes on Google and get a lot of stuff on that. Hence the best way to approach this topic is to highlight those points which one has found most useful in one’s own experience.

1.       Process is Testing Team’s Biggest Ally
The very nature of Tester’s job is to find faults, and try to break the application which the Development Team has built with much hard work and planning. Hence Testing Teams will frequently find themselves taking a position contrary to that of the Development Teams. This may give rise to disagreements and conflicts. In these situations the Testers should remember that their biggest ally is the Test Process which is clearly laid down and agreed by all. As long as they have followed the Process correctly, they will always have the ‘higher moral ground’ in any disagreement or conflict situation.  
Testers should also try to take emotion out of a conflict situation. They should not focus on individuals but should always shift the focus to the Test Process and say to the other party ‘It’s not me who wants you to do this, it is the Process. I am bound by that too’.

2.       Top Management Buy-In Into Testing
Testing Team’s task becomes doubly difficult if the top stakeholders in the Programme/Project don’t have an understanding of the value it brings. Hence it is very important for the Test Delivery Manager/Test Manager to constantly showcase the critical role Test Team plays and the value it brings to the table.

3.       Testers need to keep enhancing their Domain & Business Knowledge
Testers have to understand that even through at the beginning of a Test Engagement they may be doing only ‘Functional Testing’, but very soon the Customer expectation will be that they pick up knowledge on the Domain and Business side as well. This is key to the longevity and success of Test Engagements.

4.       Need for a good working relationship with the Dev Team/Other Key Stakeholders
Test Teams need to strive to create good working relationships based on respect with the Development Teams, BA’s and Designers. This will help in everyone working towards a common goal rather than getting into conflicts and ego clashes.

5.       Test Manager – Effective Reporting and Showcasing Value
A good Test Manager ensures that the Test Team understands and is committed to the Test Process. Once that happens the Test Manager needs to support the Testers and stand by them when they come under pressure.
Test Manager also needs to provide frequent and effective reporting to the senior stakeholders and keep showcasing the value of the Test Team. This will keep the morale of the team high.

6.       Proper Test Environments
Many a Test Engagement have failed to deliver effectively due to lack of proper Test Environment. Sometimes we see System Test and UAT happening on the same environment. This is a recipe for failure.Test Environments should not be compromised due to lack of time/money.

7.       Test Automation is not a silver bullet
Test Automation is an excellent way to increase Test Efficiency and coverage. But many a times it is projected as a ‘solution for all Testing Issues’. This is a fallacy. Test Automation has its limitations and these should be clearly highlighted.
This will help in managing expectations.

8.       Use of Statistical Techniques and Metrics

There are many useful statistical tools and techniques which can be used to bring a more scientific approach to testing and to optimise testing. Some being – Orthogonal Arrays, Six Sigma. Testing Metrics should also be chosen carefully to fit the purpose and then should be tracked for Test Compliance as well as continuous improvement.

Monday 8 September 2014

Wednesday 3 September 2014

Meeting Qamar Ahmed Sahab

On Aug 22nd, we had gone to Lord's to watch India Vs Middlesex match at Lord's. My cousin Shujju Bhaiya (Shuja Hoda) had planned this trip. Ammar & myself had gone. It was a good match, the first match India had won on this tour. Of course now they have won the ODI series very comprehensively. Kohli made a well compiled 71.



Anyway the highlight for me was something else. It was meeting Mr. Qamar Ahmed, famous sports journalist from Pakistan. He has covered more than 400 Test Matches in the last 40 years around the world. He is also the cricket correspondent for 'The Dawn' newspaper. He is a well known personality in cricketing world.

He also happens to be a relative of Shujju Bhaiya and they have known him from the days when Qamar Ahmad Sb was living in London in the 70's.

We met in the stands in Lord's Cricket Ground and had a chat for 20-30 min. He has some really fascinating stories to tell.

He was also a spinner and played First Class Cricket for Hyderabad, Sindh. He is the only bowler in history to dismiss all the famous Mohammad Brothers (Hanif, Wazir, Sadiq and Mushtaq).
He told us about the time when Imran and Javed Miandad used to live in his flat in London in the 70's in London. He had a famous falling out with Imran during the 1992 World Cup. They didn't speak for the next 12 years till Imran met him in 2004 at Lord's and invited him for lunch.

He also recounted couple of very fascinating cricket stories. It would be great to spend more time with him.

He has helped Peter Oborne write the book on Pakistan Cricket called 'Wounded Tigers'. This book has come out recently.

He is a very affectionate and down to earth person despite his achievements as a cricket correspondent and writer.

I have also shared some of my writings on Cricket with him and requested for his feedback. Let's see if he finds the time to respond !!




Tuesday 2 September 2014

Political Crisis in Pakistan

The long marches led by Imran Khan and Tahirul Qadri has been going on for nearly 20 days now. They have been staging a 'dharna' in the 'Red Zone' of Islamabad and now in the gardens of the Parliament. A few days back the Police tear gassed and lathi charged them. But they continue to stay put demanding the resignation of Nawaz Sharif among other things. With the all powerful army coming into the mix from time to time, this has created a crisis for the government.





Many observers say that they are enjoying the support of the powerful military. Both Imran & Qadri deny that.

Whatever be the hidden agenda behind this (if there is one!), the fact remains that Nawaz Sharif's government has been goofing up on most of the major issues. In fact they have created many on their own. One of these has been the Model Town Killings when Police opened fire on unarmend supporters of Tahirul Qadri and killed 14 and injuring many. For this shameful incident, the government didn't file a FIR.

Proper attention was never paid to Imran's demand that the election rigging should be checked by opening the rolls for only 4 constituencies. This was never taken seriously.

Now the government is in a conundrum how to strike a deal with Imran & Qadri and persuade them to end this impasse.

This has also brought into sharp focus the fact that most of the top posts in the government are taken by the Sharif family members. Even Nawaz Sharif's son and daughter who are political novices are given plum positions.

So certainly Nawaz Sharif, who came to power with a huge mandate one year back, will be considerably weakened after this (that is if he survives this !!).
And, that might be the 'hidden agenda' behind this.