官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 会同县| 清水河县| 新郑市| 南乐县| 曲阳县| 天峻县| 明光市| 富蕴县| 芮城县| 烟台市| 宁南县| 鄂托克前旗| 昭苏县| 翼城县| 南宫市| 静海县| 繁昌县| 华池县| 贵州省| 谷城县| 冕宁县| 宕昌县| 荥经县| 新津县| 汝州市| 宁德市| 周口市| 沙河市| 航空| 内江市| 兴安盟| 黔西| 明光市| 尚义县| 习水县| 金湖县| 苏尼特左旗| 固原市| 巴彦淖尔市| 静乐县| 南宁市|