> Date: Thu, 17 Apr 2008 23:04:49 -0300 > From: <[EMAIL PROTECTED]> > > > Date: Thu, 17 Apr 2008 20:52:32 +0200 > > From: [EMAIL PROTECTED] > > > > > > I wanted to confirm one more thing, suppose i have created one object > using > > *pdf_time_dup**. > > > > *So the contains of new object is similar to previous object. This > test case > > is not unit test case right as this is functional test case. > > > > Say passing invalid object and see what is the behavior this can be > unit > > test case right?* > > * > > > > I dont fully understand you. In order to define unit test cases for > > the `pdf_time_dup' function you should indeed use it. The fact that it > > creates a new variable containing the same values as the parameters > > do not invalidate it as a unit test case. > > Anish I think we're not doing any specific type of tests, if that's your > doubt. BUT, you at least need to do "black-box" testing. If you want to do > "white-box" testing it's much better (I guess that's what you meant with > "functional test" since functional tests involves all the modules of > the library not only one).
Sorry if I wasn't clear, "functional testing" is something you should not do now. -gerel
