YaST2 modules testsuite -- Preparation


Preparation

There is not much needed in order to prepare the system on testing yast2 modules.

Install packages

Prepare your module

    bash$ cd ".../source/blah"
    bash$ make -f /usr/lib/YaST2/data/testsuite/Makefile.testsuite prepare

    This creates the testsuite directory.
Then just run make -f Makefile.cvs.
    bash$ cd .../source/blah
    bash$ make -f Makefile.cvs

Now, the testsuite should be ready for creation of tests and testing.

Preparation example

Just to sum things up, this is an example of how your preparation session can look like.
    bash$ sudo rpm -i yast2-testsuite.rpm
    bash$ cd .../yast/source/security/
    bash$ make -f /usr/lib/YaST2/data/testsuite/Makefile.testsuite prepare
    bash$ make -f Makefile.cvs