Abstract
Due to increasing importance of test cases in software development, there is a need to verify and assure their quality. Mutation testing is an effective technique of checking if tests react properly to changes by introducing alterations to the original source code. A mutant which survives all test cases indicates insufficient or inappropriate testing assertions. The most onerous disadvantage of this technique is considerable time required to generate, compile mutants and then execute test cases against each of them. In the paper we propose an aspect-oriented approach to generation and execution of mutants, called response injection, which excludes the need for separate compilation of every mutant.
Keywords
- Source Code
- Mutation Operator
- Sequence Diagram
- Test Code
- Code Coverage
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
Chapter PDF
References
AspectJ Project HomePage, http://www.eclipse.org/aspectj/ (visited in January 2006)
Beck K.; Extreme Programming Explained. Embrace change. Addison-Wesley, 2000.
Beck K.: Test-Driven Develoment. By Example. Addison-Wesley, 2003.
Hamlet R.G.: Testing programs with the aid of compiler. IEEE Transactions on Software Engineering, Vol. 3(4), July 1978, pp.279–290
Jakarta Commons Lang Project, http://jakarta.apache.org/commons/lang/
Jester HomePage, http://jester.sourceforge.net/ (visited in January 2006)
JUnit HomePage, http://www.junit.org (visited in January 2006)
Kiczales G., Lamping J. et al.: Aspect Oriented Programming. In: Proceedings of ECOOP 1997, Lecture Notes in Computer Science 1241, Springer Verlag, pp. 220–242.
Kim S., Clark J., McDermid J.: Assessing test set adequacy for object oriented programs us ing class mutation. In: Proceedings of Symposium on Software Technology (SoST’99), pages 72–83, Sept. 1999.
Laddad R.: AspectJ in Action. Manning Publications, 2003
Ma Y., Offutt J., Kwon Y. R.: MuJava. An automated Class Mutation System. In: Software Testing, Verification and Reliability. June 2005. Vol. 15(2), pp. 97–133.
Moore, L: Jester a Junit test tester. In: Proceedings of the 2nd International Conference on Extreme Programming and Flexible Processes in Software Engineering, XP2001. Springer 2001.
Offutt A. J.: A Practical System for Mutation Testing: Help for the Common Programmer. Test Conference, 1994. Proceedings., International.
Untch R., Offutt A. J., Harrold M. J.: Mutation analysis using program schemata. In: Proceedings of the 1993 International Symposium on Software Testing, and Analysis, pages 139–148, Cambridge MA, June 1993
Bogacki B., Walter B.: Evaluation of test code quality with aspect-oriented mutations. In: Abrahamsson P., Marchesi M., Succi G.: Proceedings of 7th International Conference in Extreme Programming and Agile Processes in Software Engineering, Oulu (Finland), June 2006, Lecture Notes in Computer Science 4044, Springer Verlag, pp.202–204.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 International Federation for Information Processing
About this paper
Cite this paper
Bogacki, B., Walter, B. (2006). Aspect-oriented Response Injection: an Alternative to Classical Mutation Testing. In: Sacha, K. (eds) Software Engineering Techniques: Design for Quality. IFIP International Federation for Information Processing, vol 227. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-39388-9_26
Download citation
DOI: https://doi.org/10.1007/978-0-387-39388-9_26
Publisher Name: Springer, Boston, MA
Print ISBN: 978-0-387-39387-2
Online ISBN: 978-0-387-39388-9
eBook Packages: Computer ScienceComputer Science (R0)