[Ns-developers] Trace based regression tests
Pavel Boyko
boyko at iitp.ru
Tue Oct 27 06:23:46 PDT 2009
Hi,
Craig, please review Pcap::Diff implementation I use in trace based
regression tests.
Pavel
On Monday 19 October 2009 03:57:23 pm Pavel Boyko wrote:
> Hi,
>
> I'm trying to write simple pcap based regression (aka system) test using
> new framework. The only adequate example I have found is
> ns3tcp-interop-test- suite.cc . It can operate in two modes -- write packet
> traces ("test vectors") or compare actual transmitted packets (sniffed at
> IP level) with given correct traces. I like this. But this behavior is
> implemented "by hand", both packet tracing and comparison are implemented
> in Ns3TcpInteroperabilityTestCase and can not be reused by other tests.
> Also it happens that fancy PcapFile doesn't know about old PcapWriter, used
> by my favorite *Helper::EnablePcapAll (). And I want to use device level
> sniffer instead of IP level one.
>
> Does anybody have any plans / ideas how to implement trace based
> regression test behavior in reusable way? I can easily implement custom
> pcap diff for my WiFi based tests, but problem looks general and deserves
> some general solution.
>
> Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcap_diff.patch
Type: text/x-patch
Size: 7946 bytes
Desc: not available
Url : http://mailman.isi.edu/pipermail/ns-developers/attachments/20091027/0c8bb607/pcap_diff.bin
More information about the Ns-developers
mailing list