- Rust Programming Cookbook
- Claus Matzinger
- 87字
- 2021-06-24 12:27:43
Writing tests and benchmarks
When we start developing, tests take a backseat more often than not. There are several reasons why this might be necessary at the time, but the inability to set up a testing framework and surroundings is not one of them. Unlike many languages, Rust supports testing right out of the box. This recipe covers how to use these tools.
Although we mostly talk about unit testing here, that is, tests on a function/struct level, the tools remain the same for integration tests.
推薦閱讀
- Embedded Linux Projects Using Yocto Project Cookbook
- 騰訊iOS測試實踐
- PHP+MySQL網站開發技術項目式教程(第2版)
- Production Ready OpenStack:Recipes for Successful Environments
- Practical Game Design
- R Deep Learning Cookbook
- Instant Nancy Web Development
- OpenCV 4計算機視覺項目實戰(原書第2版)
- CRYENGINE Game Development Blueprints
- Python函數式編程(第2版)
- Learning iOS Security
- Python Web自動化測試設計與實現
- Python 快速入門(第3版)
- Offer來了:Java面試核心知識點精講(框架篇)
- Extending Docker