...
Component | Description |
---|---|
R Packages |
|
R programming language | R programming language is used to develop DataSHIELD libraries. |
Virtual machine | Emulates remote connection to a DataSHIELD server using the full IP-stack communication protocols and an Opal server. |
Environment: ds.test_env | This R environment provides all the programming variables required to develop some tests and connect to the datasets. |
Testing dataset | Some local and remote data is provided to complete some tests for accuracy and expected values returned by some DataSHIELD functions. |
Connection Tools | Some functions to safely connect locally and remotely to the testing dataset . |
Setup | Initialise the test_that testing environment, including the ds.test_env environment. It is the setup.R file. |
Teardown | Once of all the tests have been executed, the ds.test_env environment is cleared from the memory and all connections to the virtual machine are closed. It is the teardown.R file. |
Definition of tests | Some definitions of tests are written, so that a test can be used again for different columns of the local and remote data. This element is written by the developers and promote code re-use. It also reduce the code for unit tests size and it becomes more available. |
Tests | All the files starting with test are executed by test that. All the tests follow the naming convention stated in Classes of tests. |
...