pachamaltese/dbtest: A Test Environment for DB Requests

Testing and documenting code that communicates with remote databases can be painful. Although the interaction with R is usually relatively simple (e.g. data(frames) passed to and from a database), because they rely on a separate service and the data there, testing them can be difficult to set up, unsustainable in a CI environment, or impossible without replicating an entire production cluster. This package addresses that by allowing you to make recordings from your database interactions and then play them back while testing (or in other contexts) all without needing to spin up or have access to the database your code would typically connect to.

Getting started

Package details

Maintainer
LicenseApache License (>= 2.0)
Version0.0.0.9000
URL https://jonkeane.com/dbtest https://github.com/jonkeane/dbtest
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("pachamaltese/dbtest")
pachamaltese/dbtest documentation built on Dec. 3, 2019, 11:08 p.m.