Hi Mohit

Let's add the list and especially Patrcik to answer this question
authoritatively.

What you describe is correct. It seem the test-run program essentially
runs a diff against the real output and the .result file and if the
diff is non-empty then the result fails.

In my experience, if you edit or add tests, it is not realistic that
you would be able to create a result file by hand that will make the
test pass. What I usually do is add new tests, then run the test and
get the reject file. I then apply exactly that diff (usually by hand,
but you could of course try the "patch" utility directly) and rerun
this until it passes.

henrik



On Mon, Mar 26, 2012 at 10:27 AM, Mohit Srivastava
<[email protected]> wrote:
> Hi Henrik,
>
> How was your weekend ?
>
> Either I am unable to understand the test case working scenario or its
> really fails.
>
> There are two files basic.test(where the test script is written) and
> basic.result(result corresponding to basic.test). And after execution of
> basic.test , the result are cross check with the basic.result. And here
> defines the fail or pass. Correct me if I am wrong ?
>
> I changes few things in basic.test and basic.result like url of server. and
> the results corresponding to test. But it fails and generates a basic
> .reject file.
>
> ---
> Mohit
>

-- 
[email protected]
+358-40-8211286 skype: henrik.ingo irc: hingo
www.openlife.cc

My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to