Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial unit tests #43

Open
2 tasks
drofp opened this issue Oct 4, 2020 · 0 comments
Open
2 tasks

Add initial unit tests #43

drofp opened this issue Oct 4, 2020 · 0 comments
Labels
enhancement New feature or request testing

Comments

@drofp
Copy link
Owner

drofp commented Oct 4, 2020

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:

@drofp drofp added enhancement New feature or request testing labels Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing
Projects
None yet
Development

No branches or pull requests

1 participant