Skip to main content

Bridging the Gap between Requirements and Aspect State Machines to Support Non-functional Testing: Industrial Case Studies

  • Conference paper
Modelling Foundations and Applications (ECMFA 2012)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 7349))

Included in the following conference series:

Abstract

Requirements are often structured and documented as use cases while UML state machine diagrams often describe the behavior of a system. State machines capture rich and detailed behavior of a system, which can serve as a basis for many automated activities such as automated test case and code generation. The former is of interest in this paper. Non-functional behavior can be modeled using standard UML state machines, but usually results in complex state machines. To cope with such complexity, Aspect-Oriented Modeling (AOM) is often recommended. AspectSM is a UML profile defined to model crosscutting behavior on UML state machines called as aspect state machines with the focus of supporting model-based test case generation for non-functional behavior. Hence, an automatic transition from use cases to aspect state machines would provide significant, practical help for testing system requirements. In this paper, we propose an approach to automatically generate aspect state machines from use cases for the purpose of non-functional testing. Our approach is implemented in a tool, which we used for two industrial case studies. Results show that high quality aspect state machines can be generated, which can be manually refined at a reasonable cost to support testing.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Shafique, M., Labiche, Y.: A Systematic Review of Model Based Testing Tool Support. Carleton University. Technical Report SCE-10-04

    Google Scholar 

  2. Yue, T., Briand, L.C., Labiche, Y.: Automatically Deriving a UML Analysis Model from a Use Case Model. Simula Research Laboratory. Technical Report 2010-15 (2010)

    Google Scholar 

  3. Yue, T., Briand, L.C., Labiche, Y.: An Automated Approach to Transform Use Cases into Activity Diagrams. In: Kühne, T., Selic, B., Gervais, M.-P., Terrier, F. (eds.) ECMFA 2010. LNCS, vol. 6138, pp. 337–353. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  4. Yue, T., Briand, L.C., Labiche, Y.: A Use Case Modeling Approach to Facilitate the Transition towards Analysis Models: Concepts and Empirical Evaluation. In: Schürr, A., Selic, B. (eds.) MODELS 2009. LNCS, vol. 5795, pp. 484–498. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  5. Yue, T., Briand, L., Labiche, Y.: Facilitating the Transition from Use Case Models to Analysis Models: Approach and Experiments. Accepted for publication in Transactions on Software Engineering and Methodology, TOSEM (2011)

    Google Scholar 

  6. Eclipse Modeling Framework (EMF), http://www.eclipse.org/modeling/emf/

  7. The Stanford Natural Language Processing Group. The Stanford Parser version 1.6

    Google Scholar 

  8. Triskell team, http://www.kermeta.org/

  9. Yue, T., Ali, S., Briand, L.: Automated Transition from Use Cases to UML State Machines to Support State-Based Testing. In: France, R.B., Kuester, J.M., Bordbar, B., Paige, R.F. (eds.) ECMFA 2011. LNCS, vol. 6698, pp. 115–131. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  10. Ali, S., Briand, L., Hemmati, H.: Modeling Robustness Behavior Using Aspect-Oriented Modeling to Support Robustness Testing of Industrial Systems. Accepted for publication in the Journal of Software and Systems Modeling (2011)

    Google Scholar 

  11. Ali, S., Yue, T., Briand, L.: Empirically Evaluating the Impact of Applying Aspect State Machines on Modeling Quality and Effort. Simula Research Laboratory. Technical Report 2011-06 (2011)

    Google Scholar 

  12. Ali, S., Yue, T., Briand, L.: Does Aspect-Oriented Modeling Help Improve the Readability of UML State Machines? Simula Research Laboratory. Technical Report 2010-11 (2011)

    Google Scholar 

  13. Ali, S., Yue, T.: Comprehensively Evaluating Conformance Error Rates of Applying Aspect State Machines for Robustness Testing. In: ACM International Conference on Aspect-Oriented Software Development (AOSD)

    Google Scholar 

  14. Ali, S., Hemmati, H., Holt, N.E., Arisholm, E., Briand, L.C.: Model Transformations as a Strategy to Automate Model-Based Testing - A Tool and Industrial Case Studies. Simula Research Laboratory. Technical Report (2010-01) (2010)

    Google Scholar 

  15. Cisco Norway (Tandberg), http://www.tandberg.no/

  16. FMC Technologies, http://www.fmctechnologies.com/

  17. OMG: OCL 2.0 Specification. Final Adopted Specification

    Google Scholar 

  18. Yue, T., Briand, L.C., Labiche, Y.: A systematic review of transformation approaches between user requirements and analysis models. Requirements Engineering 16 (2011)

    Google Scholar 

  19. Insfrán, E., Pastor, O., Wieringa, R.: Requirements Engineering-Based Conceptual Modelling. In: Requirements Engineering, pp. 61–72

    Google Scholar 

  20. Some, S.S.: An approach for the synthesis of state transition graphs from use cases, pp. 456–462. CSREA Press

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Yue, T., Ali, S. (2012). Bridging the Gap between Requirements and Aspect State Machines to Support Non-functional Testing: Industrial Case Studies. In: Vallecillo, A., Tolvanen, JP., Kindler, E., Störrle, H., Kolovos, D. (eds) Modelling Foundations and Applications. ECMFA 2012. Lecture Notes in Computer Science, vol 7349. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-31491-9_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-31491-9_12

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-31490-2

  • Online ISBN: 978-3-642-31491-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics