Skip to content

All 21 tests passed successfully + CI#43

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

All 21 tests passed successfully + CI#43
NickEngmann wants to merge 1 commit intomasterfrom
lotus/tests-in-plants

Conversation

@NickEngmann
Copy link
Copy Markdown
Owner

Summary

All 21 tests passed successfully. The test suite includes: + CI

Diff Stats

.github/workflows/test.yml          |  21 ++++
 .gitignore                          |  19 ++-
 MARISOL.md                          |  36 ++++++
 Makefile                            |  19 +++
 platformio.ini                      |  13 ++
 test/test_native/test_placeholder.c |   9 ++
 test/test_runner.c                  | 229 ++++++++++++++++++++++++++++++++++++
 test_moisture_sensor                | Bin 0 -> 72240 bytes
 test_runner                         | Bin 0 -> 73152 bytes
 9 files changed, 345 insertions(+), 1 deletion(-)
Full test output
./test_runner
=== Running Moisture Sensor Tests ===

PASS: test_calculate_moisture_percentage_empty_sensor
PASS: test_calculate_moisture_percentage_full_sensor
PASS: test_calculate_moisture_percentage_half_full
PASS: test_calculate_moisture_percentage_out_of_range_low
PASS: test_calculate_moisture_percentage_out_of_range_high
PASS: test_calculate_analog_from_percentage_zero
PASS: test_calculate_analog_from_percentage_hundred
PASS: test_calculate_analog_from_percentage_invalid
PASS: test_get_moisture_status_dry
PASS: test_get_moisture_status_moderate
PASS: test_get_moisture_status_wet
PASS: test_get_moisture_status_boundary_dry
PASS: test_get_moisture_status_boundary_moderate
PASS: test_get_moisture_status_boundary_wet

=== Running Sleep Functionality Tests ===

PASS: test_calculate_sleep_duration_basic
PASS: test_calculate_sleep_duration_zero_cycles
PASS: test_calculate_sleep_duration_zero_duration
PASS: test_calculate_sleep_duration_single_cycle
PASS: test_calculate_sleep_interval_valid
PASS: test_calculate_sleep_interval_invalid
PASS: test_calculate_sleep_interval_boundary

=== Test Summary ===
Passed: 21
Failed: 0

All tests passed!

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 March 12, 2026 12:24
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