Cargo Features
[dependencies]
embedded-test = { version = "0.6.1", default-features = false, features = ["semihosting", "std", "panic-handler", "defmt", "log", "embassy", "external-executor", "ariel-os", "xtensa-semihosting"] }
- default = panic-handler, semihosting
-
These default features are set whenever
embedded-test
is added without
somewhere in the dependency tree.default-features = false - semihosting default xtensa-semihosting?
-
use semihosting (for embedded targets)
Enables semihosting
- std
-
use std functionality
- panic-handler default
-
defines a panic-handler which will invoke
semihosting::process::abort()
on panic - defmt
-
prints testcase exit result to defmt
Enables defmt
Optional dependencies
Affects
embedded-test::TestOutcome
… - log
-
prints testcase exit result to log
Enables log
Affects
embedded-test::TestOutcome
… - embassy ariel-os?
-
Enables async test and init functions using embassy-executor. Note: You need to enable at least one executor feature on embassy unless you are using the
external-executor
featureEnables embassy-executor, embassy of embedded-test-macros
- external-executor
-
you will use your own executor by setting it via the
tasks
macro, e.g.#[embedded_test::tests(executor = esp_hal::embassy::executor::thread::Executor::new())]
Enables external-executor of embedded-test-macros
- ariel-os = embassy
-
Enables Ariel OS integration
Enables ariel-os of embedded-test-macros
- xtensa-semihosting
-
enables the xtensa-specific semihosting implementation
Enables openocd-semihosting of semihosting