Skip to content

Introduce unit tests

I split up my large merge request !2 (closed) into smaller merge requests.

This is the first merge request introducing the infrastructure for unit test in KBlocks. I have followed the recommendations in the Community Wiki on Unit Tests and looked at the Okular repository as a reference implementation. The following is achieved in this merge request:

  • Source code has been moved to the src/ subdirectory to de-clutter the main directory.
  • Create autotest/ directory for test code
  • Add additional dependencies to CMakeLists (QTest, ECMAddTests)
  • Compile KBlocks into a library (against which main and the tests can be linked)
  • Create a first dummy test

Merge request reports

Loading