req-demo / Coffee Machine
☕️ Coffee Machine
A small end-to-end chain: system requirements → software requirements → components → passing JUnit tests. The clearest example of the full V-model.
8claims
7structured
5relations
4design / code links
7test links
What this project shows
- 8 claims: 4 system requirements and 4 software requirements.
- 5 requirement relations and 4 design/code links; the coffee component satisfies 4 claims.
- 7 JUnit links on 4 claims, all passing; the safety and temperature tests both prove the shutdown claim.
Coverage
8 claims · 2 area(s). Design cells are the files that declare req-satisfies; test cells are JUnit classname::name.
| Claim | Requirement | Design / code | Tests | Derives from |
|---|---|---|---|---|
REQ-0062 | The coffee machine shall be able to brew coffee with user-selected strength (weak, medium, strong). | — | — | — |
REQ-0063 | The coffee machine shall heat water to the appropriate temperature (85-95°C) for brewing coffee. | — | — | — |
REQ-0064 | The coffee machine shall automatically shut down if the water temperature exceeds 100°C or if no water is detected. | — | — | — |
REQ-0065 | The coffee machine shall provide a user interface with buttons for selecting coffee strength and starting the brewing p… | — | — | — |
REQ-0114 | The software shall process button inputs with debouncing and trigger appropriate actions (strength selection, start bre… | COMP_UI_MODULE.md | test_user_command_variants::TEST_BUTTON_DEBOUNCE | reqs → REQ-0065 |
REQ-0115 | The software shall continuously monitor water temperature and trigger an emergency shutdown within 100ms if temperature… | COMP_SAFETY_MON.md | test_brew_ctrl_status_fault_detection::TEST_SAFETY_SHUTDOWNtest_temp_ctrl_status_fault_detection::TEST_SAFETY_SHUTDOWN | reqs → REQ-0063 reqs → REQ-0064 |
REQ-0116 | The temperature control software shall monitor the water temperature sensor and regulate the heating element to maintai… | COMP_TEMP_CTRL.md | test_sensor_data_creation::TEST_TEMP_CONTROLtest_temperature_status_conversions::TEST_TEMP_CONTROL | reqs → REQ-0063 |
REQ-0117 | The software shall continuously monitor the water level sensor and prevent brewing operations when water level is below… | COMP_SAFETY_MON.md | test_brew_ctrl_status_fault_detection::TEST_SAFETY_SHUTDOWNtest_temp_ctrl_status_fault_detection::TEST_SAFETY_SHUTDOWN | reqs → REQ-0064 |