AspectJ home page: Learn more about using aspects for Design by Contract testing.
AspectJ主页:了解使用方面进行契约式设计测试的更多内容。
As previously noted, it is true that unit testing and Design by Contract accomplish similar objectives by different means.
正如前面提到过的,单元测试和契约式设计用不同的方式实现类似的目标。
Unit testing defines a written contract about the behavior of each unit.
单元测试定义一个有关每个单元的行为的书面合同。
应用推荐