Twister V2: New Framework for Testing Based on Pytest. Overview & Current Status
summary
Prototype based on pytest claims to convert existing Zephyr tests into pytest tests via a plugin, uses west to build/flash, and ports the ztest harness so C tests produce subtest-level results. It implements native posix and hardware classes, produces json/csv and interactive html reports, and shows that parallelization works with xdist for posix; hardware parallelism and some filters remain to be completed. Tests for the framework itself already exist.
AI-written summary · about
chapters (12)
- 0:00Intro
- 0:30Overview
- 0:46Twister V1
- 5:14Benefits
- 7:27Popular
- 8:45Current Status
- 9:46Execution
- 11:13Reporting
- 12:28Tasks
- 13:26Demo
- 14:15Reports
- 15:22Questions
related talks
49mHarnessing the Twister: Zephyr Data-Driven Testing and Insights
43mPytest Tests in Twister
43mPytest Tests in Twister
49mHarnessing the Twister: Zephyr Data-Driven Testing and Insights
44mTest Strategy for Zephyr
46mZephyr Application Development Using TDD: Getting Started
44mTest Strategy for Zephyr
46mZephyr Application Development Using TDD: Getting Started
