# Data Tests

A collection of tools and scripts for ETL and data validation testing.

### Configuration

Run `make configs` to create the `db_properties.yml` file. Enter the host, username, and password for the database you wish to use.

## Accounting Run

Tests related to the accounting run ETL process.

### iTunes Cloudmatch

Acceptance testing for the accounting run in its application to US transactions. Calculates the expected data in `processed_dig_sales` from the processed raw data in `TEMP_dig_sales_statements_test`

`rake accounting_run:cloudmatch`
