Skip to content
Snippets Groups Projects
Commit e8ec2882 authored by Gregoire Olivier's avatar Gregoire Olivier Committed by Guillaume Roguez
Browse files

doc: How to do test in the daemon


Change-Id: Ide4fec4e69da5d8916af94631520f1f4ce4f9f21
Reviewed-by: default avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
parent 2a7a53f5
No related branches found
No related tags found
No related merge requests found
Test the daemon
===============
The unit testing framework
##########################
We use CppUnit on GNU ring project. You can find a simple tutorial with code exemple on the `official website <http://cppunit.sourceforge.net/doc/cvs/cppunit_cookbook.html>`_.
Tests
#####
How to use them?
----------------
Write "make check" instead of "make".
Localisation
------------
All the tests are locate on the test folder:
- Black box test are locate at the root of the folder
- Unit tests are locate in the unitTest folder with the same path as the class you test on the src folder (`simple example <https://gerrit-ring.savoirfairelinux.com/#/c/7677/>`_)
.. _building:
Tests
=====
This section show how to launch and create a test in the different components of Ring.
.. toctree::
:maxdepth: 1
daemon
......@@ -31,6 +31,7 @@ As a developer looking to get started with a contribution, see
dev/contributing
dev/compiling_and_installing/index
dev/releasing
dev/test/index
.. toctree::
:caption: Ring Daemon
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment