testing-debugging

Validate and debug Zephyr RTOS projects with Ztest, Twister, and tracing tools.

59|13|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/beriberikix/zephyr-agent-skills --skill testing-debugging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-debugging
Source: https://github.com/beriberikix/zephyr-agent-skills/tree/main/skills/testing-debugging
Command: npx skills add https://github.com/beriberikix/zephyr-agent-skills --skill testing-debugging

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps Zephyr developers ensure code quality and reliability by guiding structured testing and debugging workflows using Ztest, Twister, and tracing tools.

Core Features & Use Cases

  • Ztest framework for unit and integration tests.
  • Twister for automated cross-platform testing and CI integration.
  • Tracing and debugging with SystemView, Thread Analyzer, and Stack Analysis.
  • Use Case: When writing tests, setting up CI, or analyzing latency, apply these patterns to verify behavior and performance.

Quick Start

Create a Ztest suite, configure Twister metadata, and enable tracing backends to run tests locally or in CI.

Frequently Asked Questions about testing-debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Ztest suites for unit and integration testing in Zephyr RTOS?

Ztest suites in Zephyr RTOS are configured by creating test functions and registering them into suites to validate unit and integration logic. This skill guides structuring those suites for native simulation and hardware targets.

What is the best way to automate Zephyr RTOS testing across different hardware platforms?

Automating Zephyr RTOS testing across hardware is handled by Twister, which uses metadata to run cross-platform tests. This skill helps configure Twister metadata to enable automated testing and CI integration.

How do I analyze latency and debug Zephyr RTOS applications using tracing tools?

Analyzing latency and debugging Zephyr applications is achieved by enabling tracing backends like SystemView and Thread Analyzer. This skill configures these tools to trace execution and analyze performance.

Can I integrate Zephyr RTOS testing workflows into a CI/CD pipeline?

Integrating Zephyr RTOS testing into CI/CD pipelines is supported by configuring Twister metadata and Ztest suites. This skill guides setting up these components to run automated cross-platform tests in continuous integration.

Does this skill help with stack analysis and thread debugging in Zephyr RTOS?

Stack analysis and thread debugging in Zephyr RTOS are supported by enabling tracing backends like Thread Analyzer. This skill guides the setup of these tools to monitor stack usage and analyze thread behavior.