Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.5555/2662413.2662431acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Automated generation of state abstraction functions using data invariant inference

Published: 18 May 2013 Publication History

Abstract

Model based testing relies on the availability of models that can be defined manually or by means of model inference techniques. To generate models that include meaningful state abstractions, model inference requires a set of abstraction functions as input. However, their specification is difficult and involves substantial manual effort. In this paper, we investigate a technique to automatically infer both the abstraction functions necessary to perform state abstraction and the finite state models based on such abstractions. The proposed approach uses a combination of clustering, invariant inference and genetic algorithms to optimize the abstraction functions along three quality attributes that characterize the resulting models: size, determinism and infeasibility of the admitted behaviors. Preliminary results on a small e-commerce application are extremely encouraging because the automatically produced models include the set of manually defined gold standard models.

References

[1]
A. Andrews, J. Offutt, and R. Alexander, "Testing Web Applications by Modeling with FSMs," Software and System Modeling, Vol 4, n. 3, pp. 326--345, 2005.
[2]
A. Biermann and J. Feldman, "On the synthesis of finite-state machines from samples of their behavior," IEEE Trans. on Computers, vol. 21, no. 6, 1972.
[3]
V. Dallmeier, C. Lindig, A. Wasylkowski, and A. Zeller, "Mining object behavior with ADABU," in WODA, Shangai, China, May 2006, pp. 17--24.
[4]
A. C. Dias Neto, R. Subramanyan, M. Vieira, and G. H. Travassos, "A survey on model-based testing approaches: a systematic review," in WEASELTech. New York, NY, USA: ACM, 2007, pp. 31--36.
[5]
M. D. Ernst, J. Cockrell, W. G. Griswold, and D. Notkin, "Dynamically discovering likely program invariants to support program evolution," IEEE Trans. on Softw. Eng., vol. 27, no. 2, pp. 1--25, 2001.
[6]
M. D. Ernst, J. H. Perkins, P. J. Guo, S. McCamant, C. Pacheco, M. S. Tschantz, and C. Xiao, "The Daikon system for dynamic detection of likely invariants," Science of Computer Programming, vol. 69, no. 1--3, pp. 35--45, Dec. 2007.
[7]
M. Harman, A. Mansouri, and Y. Zhang, "Search based software engineering: Trends, techniques and applications," ACM Computing Surveys, vol. 45, no. 1, p. Article 11, November 2012.
[8]
M. Harman, P. McMinn, J. Souza, and S. Yoo, "Search based software engineering: Techniques, taxonomy, tutorial," in Empirical software engineering and verification: LASER 2009-2010, B. Meyer and M. Nordio, Eds. Springer, 2012, pp. 1--59, LNCS 7007.
[9]
Y. Kim, H. Hong, D. Bae, and S. Cha, "Test cases generation from uml state diagrams," Software, IEE Proceedings -, vol. 146, no. 4, pp. 187--192, aug 1999.
[10]
I. Krka, Y. Brun, D. Popescu, J. Garcia, and N. Medvidovic, "Using dynamic execution traces and program invariants to enhance behavioral model inference," in ICSE - NIER Track, 2010.
[11]
D. Lorenzoli, L. Mariani, and M. Pezzè, "Automatic generation of software behavioral models," in ICSE, 2008.
[12]
A. Marchetto, P. Tonella, and F. Ricca, "State-based testing of ajax web applications," in ICST, Lillehammer, Norway, April 2008, pp. 121--131.
[13]
M. Shafique and Y. Labiche, "A systematic review of model based testing tool support," Carleton University, Canada, Tech. Rep. Technical Report SCE-10-04, May 2010.
[14]
P. Tonella, A. Marchetto, C. D. Nguyen, Y. Jia, K. Lakhotia, and M. Harman, "Finding the optimal balance between over and under approximation of models inferred from execution logs," in ICST, 2012, pp. 21--30.
[15]
C. D. Turner and D. J. Robson, "The state-based testing of object-oriented programs," in ICSM. Montreal, Canada: IEEE Computer Society, September 1993, pp. 302--310.
[16]
X. Yuan and A. M. Memon, "Using GUI run-time state as feedback to generate test cases," in ICSE. Washington, DC, USA: IEEE Computer Society, May 23--25, 2007, pp. 396--405.

Cited By

View all
  • (2018)Combining Model Inference and Passive Testing in the Same Framework to Test Industrial SystemsInternational Journal of Information System Modeling and Design10.4018/IJISMD.20170101038:1(43-72)Online publication date: 16-Dec-2018
  • (2018)OASIs: oracle assessment and improvement toolProceedings of the 27th ACM SIGSOFT International Symposium on Software Testing and Analysis10.1145/3213846.3229503(368-371)Online publication date: 12-Jul-2018
  • (2017)Uncertainty-wise evolution of test ready modelsInformation and Software Technology10.1016/j.infsof.2017.03.00387:C(140-159)Online publication date: 1-Jul-2017
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
AST '13: Proceedings of the 8th International Workshop on Automation of Software Test
May 2013
155 pages
ISBN:9781467361613

Sponsors

Publisher

IEEE Press

Publication History

Published: 18 May 2013

Check for updates

Author Tags

  1. abstraction functions
  2. model inference
  3. model-based testing
  4. search-based software engineering

Qualifiers

  • Research-article

Conference

ICSE '13
Sponsor:
ICSE '13: 35th International Conference on Software Engineering
May 18 - 19, 2013
California, San Francisco

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 09 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2018)Combining Model Inference and Passive Testing in the Same Framework to Test Industrial SystemsInternational Journal of Information System Modeling and Design10.4018/IJISMD.20170101038:1(43-72)Online publication date: 16-Dec-2018
  • (2018)OASIs: oracle assessment and improvement toolProceedings of the 27th ACM SIGSOFT International Symposium on Software Testing and Analysis10.1145/3213846.3229503(368-371)Online publication date: 12-Jul-2018
  • (2017)Uncertainty-wise evolution of test ready modelsInformation and Software Technology10.1016/j.infsof.2017.03.00387:C(140-159)Online publication date: 1-Jul-2017
  • (2016)Test oracle assessment and improvementProceedings of the 25th International Symposium on Software Testing and Analysis10.1145/2931037.2931062(247-258)Online publication date: 18-Jul-2016
  • (2015)Passive testing of production systems based on model inferenceProceedings of the 2015 ACM/IEEE International Conference on Formal Methods and Models for Codesign10.1109/MEMCOD.2015.7340480(138-147)Online publication date: 1-Sep-2015
  • (2014)Interpolated n-grams for model based testingProceedings of the 36th International Conference on Software Engineering10.1145/2568225.2568242(562-572)Online publication date: 31-May-2014

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media