Unit test in SALOME component
Unit test in SALOME componentPosted by Yuefeng Qiu at February 19. 2013
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.
Re: Unit test in SALOME componentPosted by Yuefeng Qiu at March 18. 2013
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.