Answer | Depending on the functionality of the code. if it is
specific to some output then will go for automation of it
my writing own script, eg., using rational robot for web-
based application.
if code is to generate random values accepts only values
from 1 to 100 and A to Z char does not accept any special
characters or unicode charactes with respect to
localization and globlization, then i check whether the
code is hard coded or not. To check a single test case with
1 to 2 minutes of time is enough. say enter 1 and you get
xxxxyyyxxxyyxxxyyxxyy and when you enter the same number 1
for the next time it "should not be" as
xxxxyyyxxxyyxxxyyxxyy it should be some thing diffrent.  |
| Praveen.v.n |