May 2019
Intermediate to advanced
698 pages
17h 21m
English
In general, a unit test is a function that instantiates a small portion of an application and verifies its behavior independently from other parts of the code base. In Rust, unit tests are usually written within a module. Ideally, they should only aim to cover the module's functionality and its interfaces.
Read now
Unlock full access