Software testing is a process that deals with information & risks. We as QA’s should strive to get such relevant information from any source (as long as its valid one of course!). That in turn helps in decision making while writing test cases.
Just before a few days over a cup of coffee, me along with some of office colleagues were discussing about how we miss out on important test case while writing them. And emphasizing the fact that how review meetings are important to detect such missing links.
That reminded me of one of important meeting and I left off that discussion, while going to the meeting room, I was still thinking on the point of meetings. How much of it we spend each day to discuss, review, and finalize test cases. Can we minimize it somehow and still ensure we have the relevant and required information to make our test cases cover close to 100% functional coverage?
A few days after that, we had the Requirement Based Testing training for QAs. And we were exposed to the technique of Mind Mapping. And I thought, Hey!! That can be a nice solution!
In short,
Ø We need to minimize risk of missed defects in testing.
Ø We need to minimize time consumption in discussions & meetings
Ø We need to save the cost of our project.
Ok, so now, here it goes. A super full proof formula for achieving 100% test coverage and ensuring that no defect is there in the software. (Oh! Did I say something wrong?) Yes I did. We can minimize the risk arising out of defects but can’t ensure that there will be no defect in the software.
So all I want to say is I don’t have any formula but want to share with you a method that is learnt from the last training we had. And it helped me a lot in asking for valid information & getting it for writing more effective and test cases having high probability of finding as yet undiscovered defects. The technique is Mind Mapping.
Very simple, whenever you are preparing a document, visualizing the content is really important and it makes you understand the wider scope of the things from all angles of quality of thinking (Clarity, Relevance, Depth, Breadth, Logic, Accuracy and Precision). So in one line it is “Draw your scenarios first and then jot them down.”
Free Mind is a tool that can be used to create such maps. It is a freeware available on the net. (google it!!!)
I have adopted it for preparing system test scenarios for “Agreement in Principle” functional area of my projects. Have a look in. (This is not the entire chart but gives you an idea.)

How to derive the scenarios: Very simple again.
Take one node and follow one path till the end node…. that becomes your scenario. (For e.g. Branch sales user>Creates an AIP>when both the rules pass) And then jot the steps in each of the scenario along with the expected result.

Isn’t it easy? It will definitely help us achieve significantly close to 100% (if not 100%) test coverage.
This tool / technique might not be new to you. You might be already aware of this tool. The most important thing is how we utilize it to the best of our abilities and help ourselves and our project in minimizing the 3 risks that are mentioned above.
Most importantly, not only in testing but also in day to day life we can use it to perform multitasking.
Your valuable replies are most welcome.
No comments:
Post a Comment