Integrating techniques and tools for testing automation

Macario Polo, Sergio Tendero and Mario Piattini

Abstract.

This article presents two tools to generate test cases for Java and for .NET pro-grams, as well as a structured testing process where such tools can be used in order to help in the process automation. The main innovations in this work are the joint use of diverse techniques and technologies, which have been separately applied to test auto-mation: reflection to extract the class structure; regular expressions to describe test templates and test cases; JUnit and NUnit as test case execution frameworks; mutation and MuJava as test case quality measurers; serialization to deal with parameters of complex data types; and once more, reflection, to facilitate the test engineer in the task of writing the oracle. Finally, the article presents an experiment carried out to validate the work.

Software Testing, Verification and Reliability. Software Testing, Verification and Reliability, 17(1), 3-39.  http://dx.doi.org/10.1002/stvr.348