write_test: Write Tests

Description Usage Arguments Value

Description

A utility to make writing tests a bit easier and more reproducible

Usage

1
write_test(file, header, expr, overwrite = FALSE, comparison = " > 10")

Arguments

file

The file the tests should be written to

header

The header to name the test section. Preferably short

expr

The expression to use for writing tests

overwrite

optional Whether to overwrite the existing file or append. Defaults to FALSE

comparison

optional The type of comparison to use for filter when creating the test. Currently ignored

Value

The input filename


rstudio/dbtest documentation built on May 6, 2019, 10:47 a.m.