Skip to content

Releases: Anders429/gba_test

gba_test_macros v0.3.0

27 Dec 20:29
Compare
Choose a tag to compare

Added

  • Support for returning Result<T, E> from tests, as well as other custom return types.
  • Expected messages for #[should_panic] attributes.

Fixed

  • #[ignore] no longer accepts incorrect arguments.

gba_test v0.3.0

27 Dec 20:29
Compare
Choose a tag to compare

Added

  • Support for returning Result<T, E> from tests, as well as other custom return types.
  • ShouldPanic::YesWithMessage(message) to indicate that a panic message should contain the given substring.

Fixed

  • Scrolling through multiple failed tests no longer breaks due to incorrect pointer alignment arithmetic.
  • Filtered test scrolling will no longer panic due to underflows.

gba_test_macros v0.2.0

24 Dec 16:30
Compare
Choose a tag to compare

Fixed

  • Errors now highlight test name instead of test macro.

gba_test v0.2.0

24 Dec 16:30
Compare
Choose a tag to compare

Added

  • A dynamic memory allocator, allowing use of alloc in tests.

Changed

  • Added module() to TestCase. name() should now only return the test name, not the module.

gba_test v0.1.4

24 Dec 16:28
Compare
Choose a tag to compare

Fixed

  • Resolved issue with unstable naked_functions feature which caused compilation failures on the latest nightly builds.

Removed

  • Reliance on asm_const unstable feature (the feature was recently stabilized).
  • Reliance on naked_functions unstable feature, instead implementing the runtime using global_asm!.

gba_test v0.1.3

17 Jun 06:08
Compare
Choose a tag to compare

Fixed

  • Panic displaying now properly clears all previous text before displaying the panic info.
  • User interface no longer panics when attempting to scroll down an empty list.
  • Panics are now properly reported to mgba-rom-test using the same bios call as pass/fail reports.
  • Ignored tests with long names no longer cause misaligned display of tests in user interface.

gba_test_macros v0.1.1

07 Jun 19:18
Compare
Choose a tag to compare

Fixed

  • Corrected workflow badge path.

gba_test_macros v0.1.0

07 Jun 19:17
Compare
Choose a tag to compare

Added

  • #[test] attribute for writing tests.
  • Support for #[ignore] attribute to mark tests as ignored.
  • Support for #[should_panic] to define tests that are expected to panic.

gba_test v0.1.2

07 Jun 19:19
Compare
Choose a tag to compare

Fixed

  • Provide correct target for docs.rs build.

gba_test v0.1.1

07 Jun 19:18
Compare
Choose a tag to compare

Fixed

  • Enabled doc_cfg feature to fix documentation build.