From 88cdd986e6684f0b54f413cd2b3b296675f2c16a Mon Sep 17 00:00:00 2001 From: Magnus Date: Fri, 2 Dec 2022 08:44:38 +0100 Subject: [PATCH] Updated skeleton --- TEST.md | 6 ++++-- src/tests/tests_pushtarget.cpp | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/TEST.md b/TEST.md index 7d6388f..f0873fb 100644 --- a/TEST.md +++ b/TEST.md @@ -24,6 +24,8 @@ python3 -m unittest -v apitests.API.test_status -v # Unit testing - Specific build -Ive added a specific build that uses the AUnit testing framework so that we can test functions or classed on the device itself. +I've added a specific build that uses the AUnit (https://github.com/bxparks/AUnit) testing framework so that we can test functions or classes on the device itself. I hope this will simplify the release and testing cycle. -Select the build target and build/upload the code to an iSpindle device. Check the output from the serial console. +1. Select the build target (gravity-unit) +2. Build/upload the code to an iSpindle device. +3. Check the output from the serial console. diff --git a/src/tests/tests_pushtarget.cpp b/src/tests/tests_pushtarget.cpp index 6863277..fdea04d 100644 --- a/src/tests/tests_pushtarget.cpp +++ b/src/tests/tests_pushtarget.cpp @@ -25,6 +25,6 @@ SOFTWARE. #include #include -// No unit testing for the PUSH module. These tests are done using python script and the API's +// TODO: Build some php scripts that run on gravitymon.com for testing the push data. // EOF \ No newline at end of file