...
This folder should hold the definition of tests for some specific DataSHIELD functions. Some functions and functionalities that can be shared between several tests and DataSHIELD function can be used again. As a result, the maintenance of the tests through time become easier and the process of writing tests should be lowered.
Test definition test
Naming definition scripts
The definition of tests are stored in some R scripts in the folder: /test/testthat/definition_tests/. Each file should be named as follow.
Code Block |
---|
def-[name of function in DataSHIELD].R |
R Script to include as sources:
/test/testthat/definition_tests/def-assign-stats.R
...