summaryrefslogtreecommitdiffstats
path: root/doc/userguide/partials/options-unittests.rst
blob: 971e8fd984f5255203b154c5ad9d75c49179eec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.. Options for developers - unittests.

.. option:: -u

   Run the unit tests and exit. Requires that Suricata be configured
   with *--enable-unittests*.

.. option:: -U, --unittest-filter=REGEX

   With the -U option you can select which of the unit tests you want
   to run. This option uses REGEX. Example of use: suricata -u -U
   http

.. option:: --list-unittests

   Lists available unit tests.

.. option:: --fatal-unittests

   Enables fatal failure on a unit test error. Suricata will exit
   instead of continuing more tests.

.. option:: --unittests-coverage

   Display unit test coverage report.