Skip to content

All 36 tests pass + CI#37

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

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

Conversation

@NickEngmann
Copy link
Owner

Summary

All 36 tests pass + CI

Files Changed

  • /workspace/repo/tests/test_inplants.py

Diff Stats

.github/workflows/test.yml |  32 +++++
 .gitignore                 |  15 +-
 MARISOL.md                 |  18 +++
 tests/conftest.py          |  45 ++++++
 tests/test_example.py      |  55 +++++++
 tests/test_inplants.py     | 346 +++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 510 insertions(+), 1 deletion(-)

Test Results

Metric Value
Passed 36
Failed 0
Total 36
Pass Rate 100%
Full test output
s.py::TestParticlePublishData::test_percentage_to_string_conversion PASSED [ 38%]
tests/test_inplants.py::TestParticlePublishData::test_voltage_to_string_conversion PASSED [ 41%]
tests/test_inplants.py::TestDelayLogic::test_30_second_delay PASSED      [ 44%]
tests/test_inplants.py::TestDelayLogic::test_2_minute_delay PASSED       [ 47%]
tests/test_inplants.py::TestDelayLogic::test_10_minute_delay PASSED      [ 50%]
tests/test_inplants.py::TestDelayLogic::test_30_minute_delay PASSED      [ 52%]
tests/test_inplants.py::TestDelayLogic::test_12_hour_sleep PASSED        [ 55%]
tests/test_inplants.py::TestGPIOControl::test_led_on_off_sequence PASSED [ 58%]
tests/test_inplants.py::TestGPIOControl::test_led_pin_constants PASSED   [ 61%]
tests/test_inplants.py::TestGPIOControl::test_moisture_pin_constants PASSED [ 63%]
tests/test_inplants.py::TestBatteryConditionLogic::test_battery_threshold PASSED [ 66%]
tests/test_inplants.py::TestBatteryConditionLogic::test_battery_threshold_false PASSED [ 69%]
tests/test_inplants.py::TestBatteryConditionLogic::test_usb_charging_branch PASSED [ 72%]
tests/test_inplants.py::TestParticlePublishEvents::test_event_names PASSED [ 75%]
tests/test_inplants.py::TestParticlePublishEvents::test_public_visibility PASSED [ 77%]
tests/test_inplants.py::TestParticlePublishEvents::test_event_ttl PASSED [ 80%]
tests/test_inplants.py::TestADCResolution::test_12bit_adc_range PASSED   [ 83%]
tests/test_inplants.py::TestADCResolution::test_12bit_adc_steps PASSED   [ 86%]
tests/test_inplants.py::TestADCResolution::test_analog_read_range PASSED [ 88%]
tests/test_inplants.py::TestIntegration::test_complete_sensor_workflow PASSED [ 91%]
tests/test_inplants.py::TestIntegration::test_sensor_data_publishing PASSED [ 94%]
tests/test_inplants.py::TestIntegration::test_battery_condition_decision PASSED [ 97%]
tests/test_inplants.py::TestIntegration::test_usb_power_decision PASSED  [100%]

============================== 36 passed in 0.04s ==============================

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 closed this Mar 4, 2026
@NickEngmann NickEngmann deleted the lotus/tests-in-plants branch March 4, 2026 23:51
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