One idea about Regression testing

This is loosely based on the approach given in Practice Of Programming…

1. Let us capture a packet and dump it in as XML/text file

( this is a one time step  )  — Generating packet fields with random numbers is also a very good idea…
2. Now read this file and construct the packet

3. Pass the packet thru the system and capture it back as a text/XML file

4. Compare this file with the one we have …

5. If the differ, we broke something

Do 2 to 5 for various files….

What do you all think?
— cheerio atul

Would you like to post a relpy?


This post starts a thread.
Follow-ups:
Re: One idea about Regression testing
One other idea is to use FitNesse ( www.fitnesse.org ) ... --- cheers atul atul wrote: This is loosely based on the approach given in Practice Of Programming... 1. Let us capture a packet (more...)