Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

测试

Rust 是一门非常重视正确性的语言,这门语言本身就提供了对编写软件测试的支持。

测试有三种风格:

Rust 也支持在测试中指定额外的依赖:

参见