OHDSI / GIS

https://ohdsi.github.io/GIS
Apache License 2.0
8 stars 8 forks source link

Add unit tests to all functions #53

Open kzollove opened 1 year ago

kzollove commented 1 year ago

See HADES developer guidelines for unit tests

kzollove commented 1 year ago

Look into R package dittodb for testing functions that require database connection. Will probably require waiting for #83 to be resolved

kzollove commented 10 months ago

After chatting with Jared, it seems it may be best to

  1. set up a testing database that contains input and output test files. This could be wrapped in a container so developers can easily stand it up
  2. build tests against this database outside of R's testthat framework (this also serves to keep them language independent)
kzollove commented 9 months ago

This has been started with 459bee6