Skip to content

Create Unit Tests #13

Open
@chrisdedman

Description

@chrisdedman

Description

We need to add unit tests to ensure the software's reliability and correctness. This will help us catch regressions early and improve overall code quality.

Tasks

  • Identify key functions and methods that require testing.
  • Write unit tests for the identified functions using a suitable testing framework (Qt Test).
  • Ensure tests cover a variety of scenarios, including edge cases.
  • Document the testing process and update the Wiki with instructions on running tests locally.

Requirements

  • Tests should be written in a separate test file, e.g., test_[module_name].cpp.
  • Use mock objects or stubs where necessary to isolate the unit under test.
  • Target at least 80% code coverage.
  • Ensure that tests are independent and can be run in any order.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions