- 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.
推薦閱讀
- 算法零基礎一本通(Python版)
- Practical Internet of Things Security
- Java加密與解密的藝術(第2版)
- Android 9 Development Cookbook(Third Edition)
- Functional Kotlin
- Linux命令行與shell腳本編程大全(第4版)
- Hands-On Automation Testing with Java for Beginners
- Android開發:從0到1 (清華開發者書庫)
- 深入淺出React和Redux
- 區塊鏈技術與應用
- PrimeFaces Blueprints
- 從零開始學Android開發
- Python期貨量化交易實戰
- Java程序設計基礎(第6版)
- 精通Spring:Java Web開發與Spring Boot高級功能