Mutation testing helps in evaluation of test suite quality and test development. It can be directed to programs of different languages. High cost of a mutation testing process limits its applicability. This paper focuses on mutation testing of Python programs, discussing several issues of mutant creation and execution. It was showed how they can be effectively handled in the Python environment. We discuss introduction of first and higher order mutation in an abstract syntax tree with use of generators, dealing with code coverage with AST, executing mutants via mutant injection into tests. The solutions were used in reengineering of MutPy - a mutation testing tool for Python programs. The improvements were positively verified in mutation experiments.
CITATION STYLE
Derezinska, A., & Hałas, K. (2015). Improving mutation testing process of python programs. In Advances in Intelligent Systems and Computing (Vol. 349, pp. 233–242). Springer Verlag. https://doi.org/10.1007/978-3-319-18473-9_23
Mendeley helps you to discover research relevant for your work.