/
Connecting to the Testing dataset

Connecting to the Testing dataset

Rationale

Some functions that connect to the testing data locally and remotely are provided. These functions initialise some variables of the ds.test_env environment, disconnect some existing connections and connects to the relevant testing table of the virtual machine.

These functions have been written with the following purpose:

  • The name of the function inform the developer about their purpose

  • Each function should be easy to use.

  • Each function complete one task at a time.

  • Each function promotes some code re-use

  • Each function enhances the maintenance of the testing framework.

  • The functions are grouped together based on their purpose, to promote a high cohesion and low coupling.

/test/testthat/connection_to_datasets/login_details.R

This R script sets many of the variables of the ds.test_env environment (see