• Kate Test Regression Suite

    by  • June 7, 2009 • Developers

    This blog is mainly about documenting the process how to run Kate Part’s test regression suite and probably not much use for other developers.

    Step I: Setup the environment

    1. create the file ~/.testkateregression. The content of this file is a single line pointing to the folder of the checkout of the test regression suite data. For me this is
      /home/dh/kde/tests/katetests/regression/
    2. Create the folder where you checkout the suite
      mkdir /home/dh/kde/tests
    3. Change to this folder
    4. Checkout the data:
      svn co svn://anonsvn.kde.org/home/kde/trunk/tests/katetests

    Now all the data is there for testing.

    Step II: Run the test suite

    1. go to your build directory of kate (e.g. kdelibs/build/kate/tests/
    2. run the complete suite:
      ./testkateregression.shell
    3. run specific tests, e.g. for the c indenter:
      ./testkateregression.shell -t indent/csmart

    That’s it.

    About

    Dominik is a PhD student at the Control Theory and Robotics Lab, TU Darmstadt, as part of the Research Training Group GKMM (GRK1362). My research focuses on state estimation in distributed systems. As hobby, I contribute to the KDE project and work on the Kate application and editor component.

    http://www.kate-editor.org