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

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.

主站蜘蛛池模板: 库伦旗| 台南市| 蕉岭县| 清涧县| 铁岭市| 江都市| 大丰市| 和静县| 洛隆县| 渭南市| 两当县| 百色市| 许昌市| 桓台县| 平阳县| 秀山| 平昌县| 邯郸市| 华容县| 明星| 黎城县| 田阳县| 乌兰浩特市| 个旧市| 巧家县| 新干县| 黄梅县| 太白县| 肥城市| 调兵山市| 江安县| 双柏县| 江门市| 永善县| 城市| 洱源县| 凤翔县| 获嘉县| 醴陵市| 手游| 永川市|