Skip to content

All 11 tests pass + CI#20

Closed
NickEngmann wants to merge 1 commit intomasterfrom
lotus/tests-in-plants
Closed

All 11 tests pass + CI#20
NickEngmann wants to merge 1 commit intomasterfrom
lotus/tests-in-plants

Conversation

@NickEngmann
Copy link
Owner

Summary

All 11 tests pass + CI

Files Changed

  • /workspace/repo/tests/test_inplants.py

Diff Stats

.github/workflows/test.yml |  30 +++++++
 .gitignore                 |  15 +++-
 tests/conftest.py          |  45 ++++++++++
 tests/test_example.py      |  55 ++++++++++++
 tests/test_inplants.py     | 219 +++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 363 insertions(+), 1 deletion(-)

Test Results

Metric Value
Passed 11
Failed 0
Total 11
Pass Rate 100%
Full test output
============================= test session starts ==============================
platform linux -- Python 3.12.12, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python3
cachedir: .pytest_cache
rootdir: /workspace/repo
collecting ... collected 11 items

tests/test_inplants.py::test_moisture_percentage_wet_sensor PASSED       [  9%]
tests/test_inplants.py::test_moisture_percentage_dry_sensor PASSED       [ 18%]
tests/test_inplants.py::test_moisture_percentage_mid_range PASSED        [ 27%]
tests/test_inplants.py::test_moisture_percentage_clamping_below_range PASSED [ 36%]
tests/test_inplants.py::test_moisture_percentage_clamping_above_range PASSED [ 45%]
tests/test_inplants.py::test_moisture_percentage_extreme_values PASSED   [ 54%]
tests/test_inplants.py::test_moisture_percentage_custom_calibration PASSED [ 63%]
tests/test_inplants.py::test_led_control PASSED                          [ 72%]
tests/test_inplants.py::test_adc_reading PASSED                          [ 81%]
tests/test_inplants.py::test_full_moisture_reading_workflow PASSED       [ 90%]
tests/test_inplants.py::test_multiple_sensor_readings PASSED             [100%]

============================== 11 passed in 0.02s ==============================

Phase

test — part of Marisol's autonomous coding pipeline


Generated by Marisol's autonomous coding engine

CI/CD

  • GitHub Actions workflow added (.github/workflows/test.yml)

@NickEngmann NickEngmann deleted the lotus/tests-in-plants branch February 28, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant