|
Testing techniques - Posted
on August 11, 2008 at 13:10 pm by Rajmeet
Ghai
What is Boundary value Analysis?
Answer
Test cases written for boundary value analysis are to detect errors or
bugs which are likely to arise while testing for ranges of values at
boundaries. This is to ensure that the application gives the desired output
when tested for boundary values.
E.g. a text box can accept values from minimum 6 characters to 50 characters.
Boundary value testing will test for 5 characters, 6 characters, 50 characters
and 51 characters.
What is Equivalence Partitioning?
Answer
Equivalence partitioning is a technique used in software testing which
aims to reduce the number of test cases and choose the right test cases. This
is achieved by identifying the “classes” or “groups” of inputs in such a way
that each input value under this class will give the same result.
E.g. a software application designed for an airline has special offer
functionality. The offer is that first two member of every city booking the
ticket for a particular route gets a discount. Here, the group of inputs can be
“All cities in India”.
Explain Random testing.
Answer
Random testing as the name suggests has no particular approach to
test. It is an ad hoc way of testing. The tester randomly picks modules to test
by inputting random values.
E.g. an output is produced by a particular combination of inputs. Hence,
different and random inputs are used.
What is Monkey testing?
Answer
Monkey testing is a type of
random testing with no specific test case written. It has no
fixed perspective for testing. E.g. input random and garbage
values in an input box.
|