diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:55:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 00:55:53 +0000 |
commit | 3d0386f27ca66379acf50199e1d1298386eeeeb8 (patch) | |
tree | f87bd4a126b3a843858eb447e8fd5893c3ee3882 /tests/README.rst | |
parent | Initial commit. (diff) | |
download | knot-resolver-3d0386f27ca66379acf50199e1d1298386eeeeb8.tar.xz knot-resolver-3d0386f27ca66379acf50199e1d1298386eeeeb8.zip |
Adding upstream version 3.2.1.upstream/3.2.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/README.rst')
-rw-r--r-- | tests/README.rst | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/README.rst b/tests/README.rst new file mode 100644 index 0000000..502347c --- /dev/null +++ b/tests/README.rst @@ -0,0 +1,29 @@ +Unit tests +========== + +The unit tests depend on cmocka_. + +.. code-block:: bash + + $ make check + +.. todo:: Writing tests. + +Integration tests +================= + +The integration tests are using Deckard, the `DNS test harness <deckard>`_. +It requires Jinja2_ and Python, `socket_wrapper`_, libfaketime_ are embedded in the build (cmake is required for `socket_wrapper`_). + +Execute the tests by: + +.. code-block:: bash + + $ make check-integration + +See deckard_ documentation on how to write additional tests. + +.. _cmocka: https://cmocka.org/ +.. _`socket_wrapper`: https://cwrap.org/socket_wrapper.html +.. _`libfaketime`: https://github.com/wolfcw/libfaketime +.. _deckard: https://gitlab.labs.nic.cz/knot/deckard |