During the integration test of aspect-oriented soft-ware, it is necessary to determine an order to integrate and test classes and aspects, which should be associated to a minimal possible stubbing cost. To determine such orders, strategies based on graphs were proposed. However, the problem is not trivial and in most cases sub-optimal solutions are obtained. Furthermore, the strategies do not
... [Show full abstract] consider different factors that influence on the stubbing process related to different coupling measures, contractual issues, etc. Often, these factors are in conflict and diverse good solutions are possible. To deal properly with this problem, this paper introduces a multi-objective optimization approach to generate a set of good orders that achieve a balanced compromise between different measures. The approach is evaluated by using two multi-objective evolutionary algorithms and two real AspectJ systems. The results point out that the approach can solve the problem efficiently. Moreover, it is shown how the tester can use the found solutions, according to the test goals.