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

Unit tests core components #5

Open
esteinig opened this issue Mar 17, 2022 · 2 comments
Open

Unit tests core components #5

esteinig opened this issue Mar 17, 2022 · 2 comments
Assignees
Labels
unit tests Documents unit test implementations

Comments

@esteinig
Copy link
Owner

esteinig commented Mar 17, 2022

Implement appropriate unit tests for paf.rs and covplot.rs

Excluded for now:

  • CovPlot::to_console() - not sure how to implement tests for crossterm output to stdout
  • PafAlignment::to_console() - not sure how to test output tostdout
  • PafAlignment::coverage_plots() - same issue with crossterm unit testing
@esteinig esteinig added the unit tests Documents unit test implementations label Mar 17, 2022
@esteinig esteinig self-assigned this Mar 17, 2022
@esteinig
Copy link
Owner Author

Should probably format the strings for CovPlot and PafAlignment for testing, then output to console in a separate print function

@esteinig
Copy link
Owner Author

This can actually be done nicely in tests/app.rs binary testing

esteinig added a commit that referenced this issue Mar 19, 2022
esteinig added a commit that referenced this issue Mar 19, 2022
esteinig added a commit that referenced this issue Mar 23, 2022
@esteinig esteinig mentioned this issue Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unit tests Documents unit test implementations
Projects
None yet
Development

No branches or pull requests

1 participant