Unit test in SALOME component
I would like to know what kinds of Unit test tools SALOME developers have use for component unit test . And is there any advice for unit-testing SALOME components.
Thanks !
Best regards,
Yuefeng
I think I found a solution by myself. Now I am using CPPUNIT for unit test. A good example of using CPPUNIT in SALOME can be found in MED_src/src/MEDCoupling/Test .
Instead of calling the test suite in a main() function (this will not succeed in some cases because CORBA service is not started yet), I call them in a menu button after the GUI being started.
Hope it is helpful for somebody. Anyway, unit test is important.
Best regards,
Yuefeng
