Releases: probe-rs/embedded-test
Releases · probe-rs/embedded-test
v0.7.1
What's Changed
- feat(deps): support both embassy-executor 0.9.x and 0.10.x by @kaspar030 in #80
- chore: mark code snippet in README.md no_run by @kaspar030 in #81
Full Changelog: v0.7.0...v0.7.1
v0.7.0
Added
- Support for unit tests!
- Init function can now be overridden on a per-test basis (
#[test(init = my_custom_init)]).
Changed
- Breaking: Updated embassy-executor to 0.9
- Breaking: probe-rs 0.30.0 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-testin
[dev-dependencies]. - Tests modules can now contain helper functions (=functions without test/init attributes).
Removed
- Removed the
#[cfg(test)]attribute from the test module.
Full Changelog: v0.6.2...v0.7.0
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-testin
[dev-dependencies].
Fixed
- Ensure
embedded-test.xis 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-logandinit-rttto 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