Add a test script for thermostat #143

Closed
opened 2024-10-23 11:45:07 +08:00 by morgan · 1 comment
Owner

Test sequence

  • a python script that handle the TCP command

    • minimize the chance of operation error & speed up the testing process
    • verify the temperature reading with a preset resistance e.g. 10k ohm
    • output a current that can be verified using a multimeter
  • What the test sequence may look like

    1. connect the test setup on channel 0
    2. run python test.py
    3. check the temperature & measure the current output
    4. connect the test setup on channel 1
    5. check the temperature & measure the current output
    6. Done :D
Channel 0 is active.
Checking the temperature .... PASSED
Check the channel 0 current output: 0.1 A
Press ENTER when done.

Channel 1 is active.
Checking the temperature .... PASSED
Check the channel 1 current output: 0.1 A 
Press ENTER when done.
## Test sequence - a python script that handle the TCP command - minimize the chance of operation error & speed up the testing process - verify the temperature reading with a preset resistance e.g. 10k ohm - output a current that can be verified using a multimeter - What the test sequence may look like 1. connect the test setup on channel 0 2. run `python test.py` 3. check the temperature & measure the current output 4. connect the test setup on channel 1 5. check the temperature & measure the current output 6. Done :D ```bash Channel 0 is active. Checking the temperature .... PASSED Check the channel 0 current output: 0.1 A Press ENTER when done. Channel 1 is active. Checking the temperature .... PASSED Check the channel 1 current output: 0.1 A Press ENTER when done. ```
Author
Owner

#148 is merged

#148 is merged
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/thermostat#143
No description provided.