Automated Test Oracle Based on Neural Networks

In this paper an attempt has been made to explore the possibility of the usage of artificial neural networks as automated test oracle. Automated test oracle includes capabilities to generate expected output and compare it with actual output automatically. It is important for automated software testing. But there are very few techniques to implement it. In this paper, an insensitive oracle is proposed. It generates approximate output that is close to expected output. The actual output is then compared with the approximate output in an interval. The relation between inputs and outputs of an application under testing is described as a function. When it is a continue function, neural networks are used to estimate the output after training. By the method, automated oracle can be implemented and precision be adjusted by parameters. It can save a lot of time and labor in software testing

[1]  Johan Andersson,et al.  The Video Store Revisited Yet Again: Adventures in GUI Acceptance Testing , 2004, XP.

[2]  David G. Stork,et al.  Pattern Classification , 1973 .

[3]  Jacek M. Zurada,et al.  Introduction to artificial neural systems , 1992 .

[4]  David Lorge Parnas,et al.  Generating a test oracle from program documentation: work in progress , 1994, ISSTA '94.

[5]  Lydie du Bousquet,et al.  Lutess: a specification-driven testing environment for synchronous software , 1999, Proceedings of the 1999 International Conference on Software Engineering (IEEE Cat. No.99CB37002).

[6]  Ali Zilouchian,et al.  FUNDAMENTALS OF NEURAL NETWORKS , 2001 .

[7]  Atif M. Memon,et al.  What test oracle should I use for effective GUI testing? , 2003, 18th IEEE International Conference on Automated Software Engineering, 2003. Proceedings..

[8]  Atif M. Memon,et al.  Automating regression testing for evolving GUI software , 2005, J. Softw. Maintenance Res. Pract..

[9]  Jessica Chen,et al.  Specification-based Testing for Gui-based Applications , 2002, Software Quality Journal.

[10]  Laura K. Dillon,et al.  Generating oracles from your favorite temporal logic specifications , 1996, SIGSOFT '96.

[11]  Bogdan Korel,et al.  Generating expected results for automated black-box testing , 2002, Proceedings 17th IEEE International Conference on Automated Software Engineering,.

[12]  Thomas J. Ostrand,et al.  A visual test development environment for GUI systems , 1998, ISSTA.

[13]  C. V. Ramamoorthy,et al.  On the Automated Generation of Program Test Data , 1976, IEEE Transactions on Software Engineering.

[14]  B. Eng,et al.  GENERATING A TEST ORACLE FROM PROGRAM DOCUMENTATION , 1995 .

[15]  Woei-Kae Chen,et al.  Integration of specification-based and CR-based approaches for GUI testing , 2005, 19th International Conference on Advanced Information Networking and Applications (AINA'05) Volume 1 (AINA papers).