Summary
In this chapter, we learned about testing the Rust program and Rocket application. We learned about using macros such as assert!
to do the testing. We also learned the difference between unit testing and functional testing.
We created a functional test and learned about modules to do functional testing on a Rocket application. Finally, we learned a little bit about the technique to debug a Rust application to help fix it.
Testing and debugging are important parts of programming, as these techniques can improve the correctness of the application.
After all the development is done, in the next chapter, we are going to learn several ways to set the Rocket application available to serve real-world users.