~/talk

Pytest Tests in Twister

links:none on file
slides:none on file

Adds a pytest executor plugin to Twister that actually runs pytest subprocesses, flashes or connects to targets, and returns results as junit XML so Twister parses them like other tests. Implements a device adapter abstraction so the same device-type agnostic tests run on hardware, QEMU or native POSIX. Ships fixtures for shell I/O, an MCU-based bootloader downgrade check using MCU manager, and a full LwM2M end‑to‑end interop case using a Docker server; the integration is working but adoption and multi-image/multi-device reuse remain limited.

AI-written summary · about

  1. 0:00pytest in Twister intro
  2. 1:02Integrating pytest with Twister
  3. 3:08pytest framework features
  4. 4:56Fixtures as core building blocks
  5. 6:44pytest-Twister integration
  6. 9:16Device adapters for hardware
  7. 11:44pytest fixtures examples
  8. 14:13Shell test demo
  9. 16:27MCU boot test with downgrade
  10. 20:46LWM2M interoperability test
  11. 25:27Future plans and challenges
  12. 27:32Summary of integration
  13. 29:38Q&A reliability testing
  14. 31:26Q&A simulation and shell backends
  15. 33:36Q&A stress and hardware testing
  16. 35:02Q&A server setup and cellular devices
  17. 36:51Q&A hardware execution and sequencing
  18. 39:39Q&A pytest execution and flashing
  19. 41:04Q&A extending device adapter
  20. 42:31Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.