Skip to content

Add initial unit tests #43

@drofp

Description

@drofp

We should have test coverage for some of the critical functions that are easy to test.

This will probably require the following steps

  • Decouple non-ncurses logic from ncurses calls into separate functions. It may help to create our own convenience library to call common ncurses patterns (like mvwprintw() followed by wrefresh()) or just mocking out some of the ncurses calls.
  • Actually write the tests for non-ncurses functions.

Other intersting things:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions