KDevelop4/Manual/Tool list/Unit Tests

From KDE UserBase Wiki
Revision as of 10:17, 27 November 2014 by Wbraun (talk | contribs) (Created page with "The "Unit Tests" Toolview provides easy access to CMake's [http://www.cmake.org/Wiki/CMake/Testing_With_CTest CTest functionality]. The following image illustrates the functio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "Unit Tests" Toolview provides easy access to CMake's CTest functionality. The following image illustrates the functionality of the toolview:

  • The Unit Tests toolview lists all defined CTests in the view
    • Tests are defined in the CMakeFile of the project
  • The toolview highlights the results of the tests
    • Successful tests are highlighted with a green arrow
    • Failed tests are highlighted with a red cross
  • Tests can be started individually or all tests can be run
    • The click on the lfa test case starts the lfa test which appears in the "Run" toolview
    • The small Execute button in the Unit test toolview runs all test cases