Skip to content

Releases: probe-rs/embedded-test

v0.7.1

27 Mar 08:17

Choose a tag to compare

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

01 Nov 01:08

Choose a tag to compare

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 keeping embedded-test in
    [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

11 Aug 15:00

Choose a tag to compare

v0.7.0-alpha.1 Pre-release
Pre-release

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

07 Aug 09:45

Choose a tag to compare

v0.7.0-alpha.0 Pre-release
Pre-release

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 keeping embedded-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

16 Jun 17:36
c5f262e

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.1...v0.6.2

v0.6.1

25 Apr 20:34

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.6.1

v0.6.0

06 Jan 10:37

Choose a tag to compare

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 and init-rtt to no longer depend on rtt-target/rtt-log.

Changed

  • Breaking: Bump embassy-excecutor to 0.7.0

Full Changelog: v0.5.0...v0.6.0

v0.5.0

21 Oct 08:56

Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0

31 May 20:41
927bec2

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

05 Feb 21:32

Choose a tag to compare

What's Changed

  • Fix logging via target-rtt by @linasdev in #23
  • Bump embassy-executor to 0.5.0 (breaking change)

Full Changelog: v0.2.3...v0.3.0