Crate test_runner
source ·Expand description
Custom test runner for building/running tests on the 3DS.
This library can be used with
custom_test_frameworks
to enable normal Rust testing workflows for 3DS homebrew.
Structs§
- Run tests using the
ctru::console::Console
(print results to the 3DS screen). This is mostly useful for running tests manually, especially on real hardware. - Show test output in GDB, using the File I/O Protocol (called HIO in some 3DS homebrew resources). Both stdout and stderr will be printed to the GDB console.
- Show test output via a network socket to
3dslink
. This runner is only useful on real hardware, since3dslink
doesn’t work with emulators.
Functions§
- Run tests using the
ConsoleRunner
. This function can be used with the#[test_runner]
attribute. - Run tests using the
GdbRunner
. This function can be used with the#[test_runner]
attribute. - Run tests using the
SocketRunner
. This function can be used with the#[test_runner]
attribute.