Starting a small framework for doing regression testing with larger

traces and more complex Bro configurations.

That's "Type 2" in the terminology of
http://www-new.bro-ids.org/devel/projects/testing.html

This leverages btest as well and will replace the set of scripts that
the old private test-suite is using. It can accomodate tests with both
public and private traces.

This is a checkpoint commmit, not much there yet in terms of actual
testing. Also still need to figure out a mechanmism to allow for
different baselines based on which branch we're testing.
This commit is contained in:
Robin Sommer 2011-06-07 22:05:14 -07:00
parent e87e2ad96e
commit 6f44fffcea
13 changed files with 191 additions and 10 deletions

View file

@ -1,13 +1,12 @@
This directory contains some of the suites for testing for Bro's
correct operation:
This directory contains suites for testing for Bro's correct
operation:
btest/
Tests Bro's logging & bundled scripts. See btest/README for more.
btest/
An ever-growing set of small unit tests testing Bro's
functionality.
istate/
Tests Bro's independent state facilities. These include persistent
values and inter-process event/value communication.
external/ A framework for downloading additional test sets that
run more complex Bro configuration on large traces files. Due
to the size, these are not included directly. See the README
for more information.
(Note that the Bro developers maintain a separate test suite for
Bro's trace analysis capabilities. This is kept private as it uses
sensitive raw traces for input.)