Releases: Anders429/gba_test
Releases · Anders429/gba_test
gba_test_macros v0.3.0
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
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
Fixed
- Errors now highlight test name instead of test macro.
gba_test v0.2.0
Added
- A dynamic memory allocator, allowing use of
alloc
in tests.
Changed
- Added
module()
toTestCase
.name()
should now only return the test name, not the module.
gba_test v0.1.4
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 usingglobal_asm!
.
gba_test v0.1.3
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
Fixed
- Corrected workflow badge path.
gba_test_macros v0.1.0
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
Fixed
- Provide correct target for docs.rs build.
gba_test v0.1.1
Fixed
- Enabled
doc_cfg
feature to fix documentation build.