Skip to content
Back to skills

Embedded Test Knowledge Patch

ASecurity

embedded-test

  • 25 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
developmentrustgo

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill embedded-test-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Embedded Test Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Embedded Test Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-embedded-test-knowledge-patch-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-embedded-test-knowledge-patch-nevaberry-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: embedded-test-knowledge-patch
description: embedded-test
version: "0.7.3"
license: MIT
metadata:
  author: Nevaberry
---


# embedded-test compatibility guidance

Load this skill when updating embedded-test runners, harness configuration,
setup, executors, platform support, or development tooling.

## Reference index

| Reference | Topics |
| --- | --- |
| [Harness and test configuration](references/harness-and-test-configuration.md) | ELF discovery, linker packaging, setup and logging, timeouts, per-test initialization, unit tests and helpers |
| [Executors and dependencies](references/executors-and-dependencies.md) | Embassy compatibility, external executors, panic handler, defmt, dependency feature defaults |
| [Platforms and tooling](references/platforms-and-tooling.md) | std linker support, Xtensa, Ariel OS, Rust requirements, rust-analyzer |

## Breaking changes and migration

### Logging feature removal

In 0.6.0, `init-rtt` and `init-log` were removed.
On that release, configure suite-wide logging with:

```rust
#[embedded_test::tests(setup = rtt_target::rtt_init_log())]
```

The earlier `rtt` feature initialized logging through `rtt-target` in 0.3.0.
It was renamed to `init-rtt` in 0.4.0, which also added `init-log` to
initialize a logging sink.

### Global setup function

In 0.7.0, move global setup from the `setup` macro argument into a function
annotated with `#[embedded_test::setup]`:

```rust
#[embedded_test::setup]
fn setup() {
    rtt_target::rtt_init_log();
}
```

See [harness and test configuration](references/harness-and-test-configuration.md)
for setup and logging guidance.

### Runner discovery

In 0.7.0, `probe-rs` discovers test cases directly from the ELF file.
Use a runner with ELF discovery when upgrading from a release that retrieved
the test list from the target over semihosting.

### Linker script packaging

In 0.7.0, the script moved to the `embedded-test-linker-script` crate,
so projects can keep `embedded-test` in `[dev-dependencies]`.

The 0.4.0 linker script preserves harness symbols such as
`EMBEDDED_TEST_VERSION`.

### Test module attribute change

The 0.7.0 release removed the `#[cfg(test)]` attribute from the test module.
It also added unit-test support and allows plain helper functions inside
`#[embedded_test::tests]` modules.

### Rust requirement

The minimum supported Rust version rose to 1.88 in 0.7.2.
Stable Rust became supported in 0.2.2 when the crate stopped requiring
`trait_alias`.

### Dependency changes

In 0.6.1, the `defmt` dependency moved from 0.3.8 to 1.
Version 0.6.2 dropped `defmt::Display2Format` from the panic-handler guidance.

In 0.6.2, `serde-json-core` was updated to 0.6, and the default features
of `heapless` and `serde-json-core` stopped being enabled.

See [executors and dependencies](references/executors-and-dependencies.md)
for the Embassy compatibility mapping and dependency changes.

## Test configuration

### Suite default timeout

Starting in 0.6.0, set the suite's default timeout with:

```rust
#[embedded_test::tests(default_timeout = 10)]
```

The argument takes a `u32`.

### Per-test initializer

Version 0.7.0 lets an individual test override the suite initializer with:

```rust
#[test(init = my_custom_init)]
```

## Executors and panic handling

### Embassy executor selection

Version 0.7.1 added support for `embassy-executor` 0.10.x through
the `embassy-010` feature:

```toml
[dev-dependencies]
embedded-test = { version = "0.7.1", features = ["embassy-010"] }
```

The executor version changed to 0.9 in `embedded-test` 0.7.0.
The reference contains the earlier executor compatibility changes.

### External executor

Starting in 0.4.0, enable `external-executor` to supply your own
Embassy executor.

### Built-in panic handler

Version 0.4.0 added the built-in handler through the default-enabled
`panic-handler` feature.

## Platforms and editor tooling

### std linker configuration

Starting in 0.7.3, `std` builds can omit the harness linker script from
their linker configuration.

In 0.7.3, the `std` feature supports macOS and toolchains that use
linkers such as MSVC.

### Target and operating-system support

Version 0.4.0 added `xtensa-semihosting` for Xtensa targets.
Version 0.6.1 added Ariel OS support for on-target and host `std` test runs.

### rust-analyzer Run Test

Version 0.7.2 supports the rust-analyzer **Run Test** button.
Register the `rust_analyzer` cfg in your `build.rs`:

```rust
fn main() {
    println!("cargo::rustc-check-cfg=cfg(rust_analyzer)");
}
```

See [platforms and tooling](references/platforms-and-tooling.md)
for platform support and Rust tooling details.

Files in this skill

  • SKILL.md4.5 KB
  • coverage.json616 B
  • references/executors-and-dependencies.md994 B
  • references/harness-and-test-configuration.md1.7 KB
  • references/platforms-and-tooling.md1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.