Unit Testing

1 ยท Philipp Oppermann ยท April 29, 2018, midnight
This post explores unit testing in no_std executables using Rust's built-in test framework. We will adjust our code so that cargo test works and add some basic unit tests to our VGA buffer module. This blog is openly developed on GitHub. If you have any problems or questions, please open an issue there. You can also leave comments at the bottom. The complete source code for this post can be found in the post-04 branch. ๐Ÿ”— Requirements In this post we explore how to execute cargo test on the hos...