AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Testing Debugging

skill-beriberikix-zephyr-agent-skills-testing-debugging · by beriberikix

Testing and debugging for Zephyr RTOS. Covers the Ztest framework for unit and integration tests, the Twister test runner for automated HIL/SIM validation, and advanced tracing/debugging techniques (SystemView, Thread Analyzer, Stack analysis). Trigger when writing unit tests, setting up CI/CD pipelines, or analyzing system performance and latency.

No reviews yet
0 installs
39 views
0.0% view→install

Install

$ agentstack add skill-beriberikix-zephyr-agent-skills-testing-debugging

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-beriberikix-zephyr-agent-skills-testing-debugging)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Testing Debugging? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Zephyr Testing & Debugging

Ensure code quality and system reliability using Zephyr's comprehensive testing framework and observability tools.

Core Workflows

1. Ztest Framework

Write robust unit and integration tests for native simulation and real hardware.

  • Reference: [ztestframework.md](references/ztestframework.md)
  • Key Tools: ZTEST_SUITE, ZTEST, zassert_equal.

2. Twister Test Runner

Automate test execution across multiple platforms and generate professional reports.

  • Reference: [twistertesting.md](references/twistertesting.md)
  • Key Tools: twister script, testcase.yaml, hardware mapping.

3. Tracing & Debugging

Analyze system behavior, timing, and memory usage with advanced tracing tools.

  • Reference: [tracingdebugging.md](references/tracingdebugging.md)
  • Key Tools: CONFIG_TRACING, Segger SystemView, Thread Analyzer.

Quick Start (Ztest)

#include 

ZTEST_SUITE(basic_test, NULL, NULL, NULL, NULL, NULL);

ZTEST(basic_test, test_pass) {
    zassert_true(true, "Boolean evaluation failed");
}

Professional Patterns (Reliability)

  • Continuous Integration: Integrate Twister reports (twister.json) into CI/CD pipelines for automated regression testing.
  • HIL Validation: Use hardware maps to consistently run critical hardware tests on real devices during every release cycle.
  • Stack Safety: Always enable CONFIG_STACK_SENTINEL and the Thread Analyzer during development to catch memory issues early.

Automation Tools

  • [twistersmoke.py](scripts/twistersmoke.py): Run a small Twister suite and print result summary.

Examples & Templates

  • [testcase.yaml.template](assets/testcase.yaml.template): Starter testcase metadata for Twister.

Validation Checklist

  • [ ] twister executes selected test suites with no unexpected failures.
  • [ ] At least one ZTEST suite runs in simulation and reports pass/fail correctly.
  • [ ] Tracing or thread-analyzer output is captured and reviewed for hotspots.
  • [ ] CI artifacts include machine-readable reports (for example twister.json).

Resources

  • [References](references/):
  • ztest_framework.md: Writing tests with expectations and suites.
  • twister_testing.md: Using the test runner and metadata.
  • tracing_debugging.md: Tracing, stack analysis, and debugging backends.
  • [Scripts](scripts/):
  • twister_smoke.py: Lightweight Twister runner with summary output.
  • [Assets](assets/):
  • testcase.yaml.template: Reusable testcase metadata template.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.