Skip to content

All 13 tests pass + CI#16

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

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

Conversation

@NickEngmann
Copy link
Owner

Summary

All 13 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     | 267 +++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 411 insertions(+), 1 deletion(-)

Test Results

Metric Value
Passed 13
Failed 0
Total 13
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 13 items

tests/test_inplants.py::test_moisture_percentage_dry_soil PASSED         [  7%]
tests/test_inplants.py::test_moisture_percentage_wet_soil PASSED         [ 15%]
tests/test_inplants.py::test_moisture_percentage_mid_range PASSED        [ 23%]
tests/test_inplants.py::test_moisture_percentage_constrained PASSED      [ 30%]
tests/test_inplants.py::test_sensor_reading_with_mock PASSED             [ 38%]
tests/test_inplants.py::test_particle_publishing PASSED                  [ 46%]
tests/test_inplants.py::test_led_state_transitions PASSED                [ 53%]
tests/test_inplants.py::test_multiple_sensor_readings PASSED             [ 61%]
tests/test_inplants.py::test_analog_to_voltage_conversion PASSED         [ 69%]
tests/test_inplants.py::test_sensor_calibration_values PASSED            [ 76%]
tests/test_inplants.py::test_serial_output_simulation PASSED             [ 84%]
tests/test_inplants.py::test_map_function PASSED                         [ 92%]
tests/test_inplants.py::test_constrain_function PASSED                   [100%]

============================== 13 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 27, 2026 09:05
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