横切数个类的行为给集成测试带来了一个特定问题。
Behavior that crosscuts a number of classes poses a particular problem for integration tests.
在本文中,我将介绍测试用方面实现的横切行为的一组技术。
In this article, I introduce a catalog of techniques for testing crosscutting behavior implemented with aspects.
在完成这个例子的过程中,我将强调给定的测试模式是验证横切功能、规范,还是两者同时验证。
As I proceed with the examples, I'll highlight whether a given test pattern verifies the crosscutting functionality, the specification, or both.
应用推荐