- Mastering Rust
- Rahul Sharma Vesa Kaihlavirta
- 93字
- 2021-07-02 13:35:25
Integration tests
While unit tests can test the private interface of your crate and individual modules, integration tests are kind of like black box tests that aim to test the end-to-end use of the public interface of your crate from a consumer's perspective. In terms of writing code, there is not a lot of difference between writing integration tests and unit tests. The only difference lies in the directory structure and that the items need to be made public, which is already exposed by the developer as per the design of the crate.
推薦閱讀
- Java EE 6 企業級應用開發教程
- 自己動手實現Lua:虛擬機、編譯器和標準庫
- R語言數據可視化之美:專業圖表繪制指南
- Learning AWS Lumberyard Game Development
- Magento 1.8 Development Cookbook
- JavaScript動態網頁開發詳解
- 快速念咒:MySQL入門指南與進階實戰
- WebRTC技術詳解:從0到1構建多人視頻會議系統
- .NET 3.5編程
- 微服務從小白到專家:Spring Cloud和Kubernetes實戰
- Mastering Unity 2D Game Development(Second Edition)
- OpenGL Data Visualization Cookbook
- INSTANT Yii 1.1 Application Development Starter
- Android傳感器開發與智能設備案例實戰
- Java圖像處理:基于OpenCV與JVM