wireshark/test
Gerald Combs 50061856dd Test: Add mergecap.
Change-Id: Ib21f4866cff27e22a4dc13300c3c38fa962a860f
Reviewed-on: https://code.wireshark.org/review/27184
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2018-04-27 22:42:05 +00:00
..
baseline Test: Add fileformats and I/O. 2018-04-27 19:52:04 +00:00
captures Add support for dissecting UDT over DTLS 2017-07-09 18:25:08 +00:00
config ssl,http: rename http-over-ssl to http-over-tls 2016-09-04 13:18:54 +00:00
keys Add support for dissecting UDT over DTLS 2017-07-09 18:25:08 +00:00
lua Use pcapng as the name of the file format. 2018-01-09 00:38:51 +00:00
README.test Start porting our test scripts to Python. Add ctest support. 2018-04-26 19:27:19 +00:00
config.py Test: Add mergecap. 2018-04-27 22:42:05 +00:00
config.sh Remove GTK+ tests. 2018-04-09 08:28:33 +00:00
hosts.custom Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
hosts.global Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
hosts.personal Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
run_and_catch_crashes Get rid of more .libs stuff. 2018-04-25 04:24:21 +00:00
subprocesstest.py Test: Add mergecap. 2018-04-27 22:42:05 +00:00
suite-capture.sh Remove GTK+ tests. 2018-04-09 08:28:33 +00:00
suite-clopts.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
suite-decryption.sh Start porting our test scripts to Python. Add ctest support. 2018-04-26 19:27:19 +00:00
suite-dissection.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
suite-fileformats.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
suite-io.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
suite-mergecap.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
suite-nameres.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
suite-text2pcap.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
suite-unittests.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
suite-wslua.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
suite_capture.py Test: Add fileformats and I/O. 2018-04-27 19:52:04 +00:00
suite_clopts.py Test: Add fileformats and I/O. 2018-04-27 19:52:04 +00:00
suite_decryption.py Test: Add fileformats and I/O. 2018-04-27 19:52:04 +00:00
suite_dissection.py Test: Add fileformats and I/O. 2018-04-27 19:52:04 +00:00
suite_fileformats.py Test: Add fileformats and I/O. 2018-04-27 19:52:04 +00:00
suite_io.py Test: Add fileformats and I/O. 2018-04-27 19:52:04 +00:00
suite_mergecap.py Test: Add mergecap. 2018-04-27 22:42:05 +00:00
test-backend.sh More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
test.py Test: Add fileformats and I/O. 2018-04-27 19:52:04 +00:00
test.sh Remove remnants of WS_QT_BIN_PATH 2018-04-19 08:01:27 +00:00
util_dump_dhcp_pcap.py Test: Add fileformats and I/O. 2018-04-27 19:52:04 +00:00

README.test

Wireshark Tests

The main testing script is `test.py`. It will attempt to test as much as
possible by default, including packet capture. This means that you will
probably either have to supply a capture interface (`--capture-interface
<interface>`) or disable capture tests (`--disable-capture`).

To run all tests from CMake do the following:
- Pass `-DTEST_EXTRA_ARGS=--disable-capture` or
  `-DTEST_EXTRA_ARGS=--capture-interface=<interface>`
  as needed for your system.
- Build the “test” target or run ctest, e.g. `ctest --jobs=4 --verbose`.

To run all tests directly, run `test.py -p
/path/to/wireshark-build/run-directory <capture args>`.

To see a list of all options, run `test.py -h` or `test.py --help`.

To see a list of all tests, run `test.py -l`.

See the “Wireshark Tests” chapter of the Developer's Guide for details.