Neural Networks Based Automated Test Oracle for Software Testing

A lot of test cases must be executed in statistical software testing to simulate the usage of software. Therefore automated oracle is needed to automatically generate the expected outputs for these test cases and compare the actual outputs with them. An attempt has been made in this paper to use neural networks as automated test oracle. The oracle generates the approximate output that is close to expected output. The actual output from the application under test is then compared with the approximate output to validate the correctness. By the method, oracle can be automated. It is of potential application in software testing.

[1]  Ramesh C. Jain,et al.  A robust backpropagation learning algorithm for function approximation , 1994, IEEE Trans. Neural Networks.

[2]  Paulo Fernandes,et al.  Test case generation using stochastic automata networks: quantitative analysis , 2004, Proceedings of the Second International Conference on Software Engineering and Formal Methods, 2004. SEFM 2004..

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

[4]  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).

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

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

[7]  Winfried Dulz,et al.  Automated TTCN-3 test case generation by means of UML sequence diagrams and Markov chains , 2003, 2003 Test Symposium.

[8]  Jason McDonald,et al.  Translating Object-Z specifications to passive test oracles , 1998, Proceedings Second International Conference on Formal Engineering Methods (Cat.No.98EX241).

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

[10]  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).

[11]  Hong Chen,et al.  Approximations of continuous functionals by neural networks with application to dynamic systems , 1993, IEEE Trans. Neural Networks.

[12]  Jesse H. Poore,et al.  Improved techniques for software testing based on markov chain usage models , 1999 .

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

[14]  Robert M. Hierons Testing from a Z Specification , 1997, Softw. Test. Verification Reliab..

[15]  K. K. Aggarwal,et al.  A neural net based approach to Test Oracle , 2004, SOEN.

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

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