Warning, /games/ksirk/ksirk/iris/src/xmpp/qa/README is written in an unsupported language. File is not indexed.

0001 How to add unit tests to a module
0002 ---------------------------------
0003 - Copy the qa/unittest.template module to the module dir, and rename it to
0004   'unittest'. Be careful not to copy '.svn'.
0005 - Create a file <classname>test.cpp for every class, and implement the tests
0006         for each method.. See 'myclasstest.cpp' for a template.
0007 - Add every <classname>test.cpp file to 'unittest.pri'
0008 - In 'unittest.pro', replace '$$MYMODULE' with the name of the module that you 
0009   are unit testing. Also include all the modules that are required to compile
0010         a standalone checker for the module under test. 
0011 - Add an 'include' line to the list of unit tests in qa/unittests.pri. This
0012   is used to compile the full unit test suite of all modules.
0013 - Make sure 'qa/unittests.pro' contains the module under test, and make
0014   sure that it compiles and runs fine.
0015 
0016 How to run the unit tests of a specific module
0017 ----------------------------------------------
0018 In the 'unittest' subdir of a module, run 'qmake', and then run 'make check'
0019 to build and run the standalone checker for the module.
0020 
0021 How to run all unit tests
0022 -------------------------
0023 First, make sure Iris has been built.
0024 Go to qa/unittests, run 'qmake', and run 'make check'.