Tests are executable documentation. Unlike normal documentation, they never lie, because everyone runs them and they always pass.
测试是可以执行的文档与普通文档不同,测试从不说谎,因为人人都运行还总得通过。
These tests and the interrelationships they represent provide useful executable documentation for those responsible for operating services.
这些测试及它们所代表的相互关联,为那些负责运营服务的人提供了有用的可执行档案。
Not only are the contracts executable, they are also part of the user-visible code and documentation, information that would be more obscure if captured in separate aspects.
合约不仅可以执行,还是用户可见的代码、文档和信息的组成部分,而如果是在分散的方面中捕获到的,这些信息则会很模糊。
应用推荐