development:unit_testing_in_r
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| development:unit_testing_in_r [2015/06/30 03:09] – created schuemie | development:unit_testing_in_r [2020/04/06 13:51] (current) – schuemie | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | OHDSI unit testing for R follows the standard R practice using test_that: A folder named ' | + | This has moved to https://ohdsi.github.io/ |
| - | + | ||
| - | * A sub-folder called ' | + | |
| - | * A file called ' | + | |
| - | + | ||
| - | The file ' | + | |
| - | + | ||
| - | library(testthat) | + | |
| - | library(< | + | |
| - | test_check("< | + | |
| - | + | ||
| - | + | ||
| - | The sub-folder ' | + | |
| - | + | ||
| - | + | ||
| - | test_that(" | + | |
| - | expect_equal(x(), | + | |
| - | }) | + | |
development/unit_testing_in_r.1435633762.txt.gz · Last modified: by schuemie
