Skip to contents

Test whether project results match database outputs for validation. Use to compare output files to database tables in test pipelines.

Usage

test_results(settings)

Arguments

settings

list. Settings object for test environment.

Value

None. Validates results as side effect.

Details

  • Loops through output map and compares output files to database tables.

  • Checks final weight columns and ID columns for consistency.

  • Returns nothing; side effect is test validation.

  • Assumes valid settings and output map; errors if missing.

Settings

None.

See also

  • fetch_hts_table

  • scripts/tests/test_results.R

Other test utilities: get_test_settings(), test_teardown()

Examples

## Not run:
test_results(settings)
#> Error: object 'settings' not found
## End(Not run)