Sustaingineering / Pump-Firmware

Particle Electron and ESP32 firmware that collects data from sensors and sends it via peer-to-peer LoRa and Particle GSM. The data is recorded on a micro SD card with timestamps.
3 stars 2 forks source link

#115 particle unit tests with `extern` implementation discussed in #130 #133

Closed ShreyansK2000 closed 3 years ago

ShreyansK2000 commented 3 years ago

Use extern keyword to access object instances created in main.cpp in tests.h. Uses PinConfig.h checks to decide which classes to include with extern.

This PR includes changes to the particle testing framework discussed in issue #130