Saturday, October 9, 2010

How important is to check the input data type while testing...

Input type testing or input domain testing is the word which we usually use for testing the mismatches of inserted input value to our program.So, how important this type of testing in our test life-cycle. Some testers may find it important, on the other hand some may not put special importance on this. Because the second group may think that developers by default check this input testing while coding. But, do the developers always check this things?? I think they do not. So, are you still thinking about the importance of input testing??
I bet you will give more importance on this testing after reading the story below:

Explosion of the Ariane 5

On June 4, 1996 an unmanned Ariane 5 rocket launched by the European Space Agency exploded just forty seconds after lift-off. The rocket was on its first voyage, after a decade of development costing $7 billion. The destroyed rocket and its cargo were valued at $500 million. A board of inquiry investigated the causes of the explosion and in two weeks issued a report. It turned out that the cause of the failure was a software error in the inertial reference system. Specifically a 64 bit floating point number relating to the horizontal velocity of the rocket with respect to the platform was converted to a 16 bit signed integer. The number was larger than 32,768, the largest integer storeable in a 16 bit signed integer, and thus the conversion failed.
The following paragraphs are extracted from  report about the explosion::
On 4 June 1996, the maiden flight of the Ariane 5 launcher ended in a failure. Only about 40 seconds after initiation of the flight sequence, at an altitude of about 3700 m, the launcher veered off its flight path, broke up and exploded.
The failure of the Ariane 501 was caused by the complete loss of guidance and attitude information 37 seconds after start of the main engine ignition sequence (30 seconds after lift-off). This loss of information was due to specification and design errors in the software of the inertial reference system.
The internal SRI* software exception was caused during execution of a data conversion from 64-bit floating point to 16-bit signed integer value. The floating point number which was converted had a value greater than what could be represented by a 16-bit signed integer. 

So, what are you thinking now after reading the story. Is input type testing is worthy or not. Are you not convinced yet. If you are not, then i think you probably will never be.


Wednesday, September 1, 2010

So, This is called testing...?

When a baby is born,everyone surrounding him/her tries to help him to learn what he/she must learn to carry on his/her activities.Sometimes he/she stumbles or sometimes falls down from the bed. I am thinking myself as a baby in this QA field as i've started my career as QA engineer few days back.So,please help me to understand what QA is and help me to carry on my QA activities.


When i first heard about testing, i was wondering what it would be and how this would be done.I made some general explanation in my mind.I thought it is a diagnostic approach to find bugs in a software project. I thought there would be some specifications and i've to go through those to cross-check the projects.But,as days are continuing i am realizing that i was somewhat wrong and there is something which is beyond this diagnostic approach.I am learning that it is not cross-checking rather it is questioning. It is questioning about the products,it is questioning about the users and most important thing is it is questioning about yourself as a tester.Because as far as i know if there is a question,then there will be an answer, otherwise what is the necessity of an answer. And in our case,the product is the answer. So,the best quality of it will be ensured if there are lot of questions about it.So, i've been continuously training my mind for questioning to become a good tester and consequently to become a good SQA engineer.I'm not sure is this a right approach or not but i guess if i ask about a problem from different point of views then definitely i'll reach quite close to a solution.

So,this is the definition of testing to me.I am requesting all of you to suggest me if i am wrong in my approach on testing.All yours advices will be taken cordially and i'm waiting for your comments.