germainlefebvre4 / libtado

A Library to control your Tado Smart Thermostat. https://libtado.readthedocs.io/
GNU General Public License v3.0
37 stars 9 forks source link

Run tests on a dedicated environment (software of hardware) #14

Closed germainlefebvre4 closed 5 months ago

germainlefebvre4 commented 3 years ago

I contacted Tado to have an test environment where we can run our python api functions.

I give them choices:

germainlefebvre4 commented 3 years ago

Tado company do not help any community projects. However they redirect me to the OpenHab SmartHome Community.

Let’s have a ride on this plateform: https://community.openhab.org/

rhuijben commented 3 years ago

Github has a customizable workflow that allows setting up tests. But I'm not sure how we should run tests against the Tado webserver without opening up somebodies home if Tado doesn't provide a test account or testserver to run tests against.

germainlefebvre4 commented 3 years ago

That why I asked Tado to provide a hardware setup to install at me and dedicate it for running tests. Unfortunately they refuse any support either providing hardware or giving a test endpoint :/ sadly we need to overcome this on testing non-invasive tests (only GET and no POST/PUT) on a personal equiment that could be mine.

If I can gather donation I would setup a full environment (but not plugged on my heater ^^).

For the meanwhile we have to deal with and find some way to test API response from Tado on the structure (dict, list, value) and the data (it returns well the equipment with the good name).