Academia.eduAcademia.edu

Outline

The state problem for test generation in Simulink

2006, Proceedings of the 8th annual conference on Genetic and evolutionary computation

https://doi.org/10.1145/1143997.1144319

Abstract

Search based test-data generation has proved successful for codelevel testing. In this paper we investigate the application of such approaches at the higher levels of abstraction offered by Matlab-Simulink models. The presence of persistent state has been shown to be problematic at the code level and such difficulties remain when Matlab-Simulink models are to be tested. In such cases, sequences of inputs that can put the model under test into particular states are needed to enable the underlying test goals to be achieved. Simple search guidance appears to be insufficient and results in a 'flat' cost function landscape. To address this problem, we introduce a technique called tracing and deducing, which helps provide better guidance to the search, allowing our developed tools to home in on the targeted test-data.

References (30)

  1. REFERENCES
  2. B. Korel. Automated Software Test Data Generation. IEEE Trans. on Softw. Engineering, 16(8): 870-879, 1990.
  3. N. Tracey, J. Clark, K. Mander, and J. McDermid. An Automated Framework for Structural Test-Data Generation. Int'l Conf. on Auto. Softw. Eng., pp 285-288, 1998.
  4. J. Wegener, K. Buhr, and H. Pohlheim. Automatic Test Data Generation for Structural Testing of Embedded Software Systems by Evolutionary Testing. GECCO 2002, pp 1233- 1240.
  5. S. Xanthakis, C. Ellis, C. Skourlas, A. Le Gal, S. Katsikas and K. Karapoulios. Application of Genetic Algorithms to Software Testing. In Int'l Conf. on Softw. Engineering and its Applications, pp 625-636, 1992.
  6. B. Jones, H. Sthamer, and D. Eyres. Automatic Structural Testing Using Genetic Algorithms. Software Engineering Journal, 11(5): 299-306, 1996.
  7. N. Tracey, J. Clark, and K. Mander. Automated Program Flaw Finding Using Simulated Annealing. Symposium on Software Testing and Analysis (ISSTA), pp 73-81. 1998.
  8. N. Tracey, J. Clark, K. Mander, and J. McDermid. Automated Test Data Generation for Exception Conditions. Software - Practice and Experience, 30(1): 61-79, 2000.
  9. O. Buehler and J. Wegener. Evolutionary Functional Testing of an Automated Parking System. In Int'l Conf. on Computer, Communication and Control Technologies (CCCT'03) and The 9 th Int'l Conf. on Information Systems Analysis and Synthesis, (ISAS'03), 2003.
  10. A. Baresel, H. Pohlheim, and S. Sadeghipour. Structural and Functional Sequence Test of Dynamic and State-Based Software with Evolutionary Algorithms. GECCO 2003, pp 2428-2441.
  11. J. Wegener, K. Grimm, M. Grochtmann, H. Sthamer and B. Jones. Systematic Testing of Real-Time Systems. Proc. of the 4th European Conference on Software Testing, Analysis & Review (EuroSTAR '1996), Dec. 1996.
  12. P. Puschner and R. Nossal. Testing the Results of Static Worst- Case Execution-Time Analysis. Proc. of the 19 th IEEE Real- Time Systems Symposium, pp 134-143, 1998.
  13. B. Jones, H. Sthamer, X. Yang, and D. Eyres. The Automatic Generation of Software Test Data Sets Using Adaptive Search Techniques. The 3 rd Int'l Conf. on Software Quality Management, pp 435-444, 1995.
  14. Y. Zhan, and J. Clark. Search-Based Automatic Test-Data Generation at an Architectural Level. GECCO 2004, pp 1413- 1426.
  15. Leonardo Bottaci. Predicate Expression Cost Functions to Guide Evolutionary Search for Test Data. GECCO 2003, pp 2455-2464.
  16. Hong Zhu, Patrick A. V. Hall and John H. R. May. Software Unit Test Coverage and Adequacy. ACM Computing Surveys, Vol. 29(4): 366-427. December 1997.
  17. C. R. Reeves (Ed.). Modern Heuristic Techniques for Combinatorial Problems. Blackwell, Oxford, 1993.
  18. R. Kirner, R. Lang, G. Freiberger and P. Puschner. Fully Automatic Worst-Case Execution Time Analysis for Matlab/Simulink Models. Euromicro Conference on Real-Time Systems, 2002.
  19. S. Kirkpatrick, C. Gelatt, and M. Vecchi. Optimization by Simulated Annealing. Science, 220(4598): 671-680, 1983.
  20. P. McMinn. Search-based Software Test Data Generation: A Survey. Software Testing, Verification and Reliability, 14(2), pp 105-156, June 2004.
  21. Eugenia Díaz, Javier Tuya, Raquel Blanco. Automated Software Testing Using a Metaheuristic Technique Based on Tabu Search. In 18 th IEEE Int'l. Conf. on Automated Software Engineering. Montreal, Canada, Oct. 2003.
  22. The MathWorks. http://www.mathworks.com/products/simulink.
  23. Y. Zhan, and J. Clark. Search-Based Mutation Testing for Simulink Models. GECCO 2005, pp 1061-1068.
  24. M. Harman, L. Hu, R. Hierons, A. Baresel, and H. Sthamer. Improving Evolutionary Testing by Flag Removal. GECCO 2002, pp 1359-1366.
  25. P. McMinn, and M. Holcombe. The State Problem for Evolutionary Testing. GECCO 2003, pp 2488-2500.
  26. P. McMinn. Evolutionary Search for Test Data in the Presence of State Behaviour. PhD Thesis, University of Sheffield, January 2005.
  27. L. Clarke. A System to Generate Test Data and Symbolically Execute Programs. IEEE Transactions on Software Engineering, 2(3): 215-222. 1976.
  28. R. A. DeMillo and A. J. Offutt. Constraint-Based Automatic Test Data Generation. IEEE Transactions on Software Engineering, 17(9): 900-909. 1991.
  29. A. J. Offutt, Z. Jin and J. Pan. The Dynamic Domain Reduction Procedure for Test Data Generation. Software - Practice and Experience, 29(2): 167-193. 1999.
  30. Y. Zhan. A Search-Based Framework for Automatic Test-Set Generation for MATLAB/Simulink Models. PhD thesis, University of York. Dec 2005.