Because of lacking of detailed information, testing for Web services is very difficult generally. A method was presented which applies mutation operator to the OWL-S documents, then test cases with the target of making different outputs was generated. The method avoids generating large number of mutants and determining equivalent mutants, then huge costs can be reduced. While this method can ensure the effectiveness of test case generation, it also can ensure the versatility and scalability by adjusting the mutation operators in terms of the condition of the application.%由于缺乏必要的细节信息,针对Web服务的测试难度较大.文章的方法是将变异算子作用到OWL-S文档上,以得出不同输出为目标,从而生成测试用例.该方法避免了生成大量的变异体以及判定等价变异体,能降低测试成本.在保证其有效性的同时,还可以根据具体的应用来调整变异算子,保证方法的通用性和可扩展性.
展开▼