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§
- Console
Runner - 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. - GdbRunner
- 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.
- Socket
Runner - Show test output via a network socket to
3dslink. This runner is only useful on real hardware, since3dslinkdoesn’t work with emulators.
Functions§
- run_
console - Run tests using the
ConsoleRunner. This function can be used with the#[test_runner]attribute. - run_gdb
- Run tests using the
GdbRunner. This function can be used with the#[test_runner]attribute. - run_
socket - Run tests using the
SocketRunner. This function can be used with the#[test_runner]attribute.