html version of this document is produced with docutils:
rst2html < doc.txt > doc.html
This document corresponds to SALOME2 3.2.0
| WORK in PROGRESS, INCOMPLETE DOCUMENT |
You will find here general information on code directories structure, unit tests associated to the different kind of classes, and how to run the unit tests.
NOTIFICATION_SWIG
Container
TestContainer
LifeCycleCORBA
LifeCycleCORBA_SWIG
KERNEL_PY
UnitTests
TO BE COMPLETED
Unit Testing rely on cppunit package for C++ testing, and on unittest module for Python. See these products for general principles of unit testing.
The cppunit package is optional. When the prerequisite is detected, the unit tests are compiled.
Unit Tests sources are in directories Test under the src/directories containing the classes to test.
Test are ordered following the order of directories given above.
Tests can be run as a whole, or for a particular directory. In this case, only a partial test is run (the classes to test, and the classes used, i.e. the preceding test directories).
Today, only some tests are written as an example. There are not yet python scripts in KERNEL_SRC, but it's a matter of days, there are working scripts to test LifeCycleCORBA_SWIG interface.
| General KERNEL documentation | End User KERNEL Doxygen documentation |