Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KBlocks KBlocks
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GamesGames
  • KBlocksKBlocks
  • Merge requests
  • !3

Introduce unit tests

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Julian Helfferich requested to merge helfferich/kblocks:introduce_unit_tests into master Jan 14, 2021
  • Overview 13
  • Commits 11
  • Pipelines 8
  • Changes 96

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
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: introduce_unit_tests