Skip to content

Testing With Predefined Sensor Data

Ajay Ramachandran edited this page Jan 7, 2021 · 6 revisions

To enable testing mode, define the TESTING environment variable.

On Linux/WSL:

Set: export TESTING=1

Unset: unset TESTING

You can also set this up with Vscode

Testing Data

Testing data is a csv formatted in the same way as the log files (located at LOG_PATH, default /data/). Unlike the log files, it should have all data in one file.

This file should be placed in the location specified by TESTING_INPUT_FILE (default ./data/test-data.csv).

Clone this wiki locally