[Ns-developers] [brain dump] testing ideas
Tom Henderson
tomh at tomh.org
Mon Jun 29 21:36:09 PDT 2009
>
> Basically, what I am trying to get to here is that, most likely, I don't
> need to download reference traces: I can regenerate them because I have
> a reference source tree.
I think your stated workflow is fine until someone is lazy or makes a
mistake and does not bother to check against reference behavior. It is
useful to make people explicitly think about changing the regression
traces, IMO.
But, if you are suggesting that there would be default stored test
output that is not largely trace-based, used for regression testing, and
that you want to be able to turn on even more pcap/ascii tracing for
even more checking, then I agree.
For trace diffs, I typically just "tcpdump -r" to turn it to ascii and
then diff; probably some little script that integrated with a GUI tool
like xxdiff would be nice.
- Tom
More information about the Ns-developers
mailing list