-
-
Notifications
You must be signed in to change notification settings - Fork 23
mmrs: integration tests #407
Copy link
Copy link
Open
Labels
featureNew feature or requestNew feature or requestmmrsmodemmanager bindings cratemodemmanager bindings cratetestsAdd, remove or adjust testsAdd, remove or adjust tests
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requestmmrsmodemmanager bindings cratemodemmanager bindings cratetestsAdd, remove or adjust testsAdd, remove or adjust tests
Type
Fields
Give feedbackNo fields configured for issues without a type.
add integration tests for mmrs, following the nmrs pattern.
test macros
test cases
test_modemmanager_initialization— connect to mm d-bustest_list_modems— enumerate modemstest_modem_properties— read manufacturer, model, imeitest_sim_properties— read iccid, imsi, operator (if sim present)test_signal_quality— read signal strengthtest_bearer_lifecycle— create, connect, disconnect, delete (needs real modem or mock)mock modem
modemmanager supports virtual modems for testing. look into
mmcli --testorlibmm-glibtest fixtures.alternatively, skip bearer tests without hardware and just test the proxy/model layers.
hardware tests
for real modem testing, document the setup (sim with data plan, apn config). these would be
#[ignore]by default and run manually.