You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a tests/ folder and write a pytest test file for each sensor class. Each test file should check that the generate_reading() method returns valid JSON, that the value falls within the expected range, that the sensor type and room fields are present and correct, and that consecutive readings show drift rather than random jumps. Run all tests with pytest and confirm they pass before closing this issue. This is part of the QA Lead responsibility and will be checked during assessment.
The text was updated successfully, but these errors were encountered:
Create a tests/ folder and write a pytest test file for each sensor class. Each test file should check that the generate_reading() method returns valid JSON, that the value falls within the expected range, that the sensor type and room fields are present and correct, and that consecutive readings show drift rather than random jumps. Run all tests with pytest and confirm they pass before closing this issue. This is part of the QA Lead responsibility and will be checked during assessment.
The text was updated successfully, but these errors were encountered: