Releases: probe-rs/embedded-test
Releases · probe-rs/embedded-test
v0.7.0-alpha.1
Added
- Init function can now be overridden on a per-test basis (
#[test(init = <func_name>)]
).
Changed
- Tests modules can now contain helper functions (w/o test/init attributes).
Full Changelog: v0.7.0-alpha.0...v0.7.0-alpha.1
v0.7.0-alpha.0
Added
- Support for unit tests!
Changed
- Breaking: probe-rs reads the test cases directly from the ELF file instead of querying them from the target via
semihosting. - Breaking: global setup function must now be annotated with an attribute
#[embedded_test::setup]
instead of passing it to#[embedded_test::tests(setup=...)]
. - Linker script now lives in its own crate
embedded-test-linker-script
, to allow keepingembedded-test
in
[dev-dependencies]
.
Fixed
- Ensure
embedded-test.x
is only augmenting (instead of replacing) the linker scripts on std
Full Changelog: v0.6.2...v0.7.0-alpha.0
v0.6.2
What's Changed
- Fix typo: runniing → running by @cmumford in #63
- build: bump serde-json-core version to 0.6.0 by @inthehack in #60
- Slight cleanup by @bugadani in #65
New Contributors
- @cmumford made their first contribution in #63
- @inthehack made their first contribution in #60
Full Changelog: v0.6.1...v0.6.2
v0.6.1
What's Changed
- feat: add Ariel OS support by @kaspar030 in #56
- feat: initial std support by @kaspar030 in #58
New Contributors
- @kaspar030 made their first contribution in #56
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
Added
#[tests(default_timeout = <u32>)]
to configure a suite-wide default timeout.#[tests(setup = <expr>)]
to configure a suite-wide (log) setup function (e.g.rtt_target::rtt_init_log()
).
Removed
- Breaking: Removed Features
init-log
andinit-rtt
to no longer depend onrtt-target
/rtt-log
.
Changed
- Breaking: Bump embassy-excecutor to 0.7.0
Full Changelog: v0.5.0...v0.6.0
v0.5.0
v0.4.0
What's Changed
- Use released semihosting by @SergioGasquez in #27
- Configurable executor by @bjoernQ in #30
- Release 0.4.0: Switch to probe-rs 0.24 🥳 by @t-moe in #32
New Contributors
- @SergioGasquez made their first contribution in #27
- @bjoernQ made their first contribution in #30
Full Changelog: v0.3.0...v0.4.0
v0.3.0
v0.2.3
Added
- Show improved diagnostic when no executor feature is enabled on the embassy-executor crate.
- Calculate the test list buffer size at compile time to avoid a too small buffer.
Fixed
- Macro produced invalid rust code when there was no #[init] function present.