Skip to content

Releases: probe-rs/embedded-test

v0.7.0-alpha.1

11 Aug 15:00
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

What's Changed

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

v0.4.0

31 May 20:41
927bec2
Compare
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
Compare
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

v0.2.3

26 Jan 14:39
Compare
Choose a tag to compare

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.

v0.2.2

27 Dec 13:57
Compare
Choose a tag to compare

Changed

  • Removed #![feature(trait_alias)] to allow usage of embedded-test in stable rust.

Fixed

  • Updated semihosting dependency to fix failing build for cortex-m targets.