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

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.

主站蜘蛛池模板: 东至县| 雅江县| 临颍县| 阜宁县| 旅游| 望奎县| 房产| 措勤县| 新郑市| 巍山| 陆川县| 德清县| 香格里拉县| 莒南县| 张家口市| 晋宁县| 沧源| 锡林郭勒盟| 惠来县| 延安市| 绥阳县| 公主岭市| 绍兴县| 太谷县| 蚌埠市| 新乡县| 光山县| 巴青县| 泾川县| 精河县| 崇信县| 沙田区| 大化| 呼伦贝尔市| 五大连池市| 独山县| 昌宁县| 湖南省| 茌平县| 仪征市| 高雄市|