bschilder / ThreeWayTest

Summary statistics-based association test for identifying the pleiotropic effects with set of genetic variants
2 stars 1 forks source link

Add unit tests #9

Closed bschilder closed 1 year ago

bschilder commented 1 year ago

Adding unit tests is a great way to ensure your code always works as expected. It will also improve your code coverage, which is a metric that get displayed as a badge in your README (see here for an example):

Screenshot 2023-02-17 at 15 03 12

testthat is my preferred methods for implementing unit tests. See here for some examples.