[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to main content

Automatic Test Case Generation for Concurrent Features from Natural Language Descriptions

  • Conference paper
  • First Online:
Formal Methods: Foundations and Applications (SBMF 2018)

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

Included in the following conference series:

Abstract

Contemporary computing applications have an increasing level of concurrency; new techniques are demanded to tackle the challenge of testing the plentiful interactions that arise from concurrent behaviour. Current approaches for automatic test generation from natural language models do not allow the explicit specification of concurrent behaviour. This paper extends our previous test case generation approach to support concurrent mobile device features. A natural language notation is proposed to express the composition of sequential and concurrent behaviour. The notation can be automatically translated to a CSP model, from which tests are automatically produced using the FDR refinement checker. The approach is illustrated with a mobile application that includes concurrent features.

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

Access this chapter

Subscribe and save

Springer+ Basic
£29.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
GBP 19.95
Price includes VAT (United Kingdom)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
GBP 39.99
Price includes VAT (United Kingdom)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
GBP 49.99
Price includes VAT (United Kingdom)
  • 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

Similar content being viewed by others

References

  1. Android Developers – www.android.com, July 2018. https://developer.android.com

  2. Android N – www.android.com, July 2018. https://www.android.com/versions/nougat-7-0/

  3. Andrade, W.L., Machado, P.D.: Testing interruptions in reactive systems. Form. Asp. Comput. 24(3), 331–353 (2012)

    Article  MathSciNet  Google Scholar 

  4. Andrews, G.R., Schneider, F.B.: Concepts and notations for concurrent programming. ACM Comput. Surv. (CSUR) 15(1), 3–43 (1983)

    Article  Google Scholar 

  5. Arruda, F., Sampaio, A., Barros, F.A.: Capture & replay with text-based reuse and framework agnosticism. In: SEKE, pp. 420–425 (2016)

    Google Scholar 

  6. Bianchi, F., Margara, A., Pezze, M.: A survey of recent trends in testing concurrent software systems. IEEE Trans. Softw. Eng. 1, 1–1 (2017)

    Google Scholar 

  7. Broy, M., Jonsson, B., Katoen, J.-P., Leucker, M., Pretschner, A. (eds.): Model-Based Testing of Reactive Systems. LNCS, vol. 3472. Springer, Heidelberg (2005). https://doi.org/10.1007/b137241

    Book  MATH  Google Scholar 

  8. Carvalho, G.: NAT2TEST: Generating Test Cases from Natural Language Requirements based on CSP. Ph.D. thesis, Federal University of Pernambuco (2016)

    Google Scholar 

  9. Carvalho, G., Barros, F., Carvalho, A., Cavalcanti, A., Mota, A., Sampaio, A.: NAT2TEST tool: from natural language requirements to test cases based on CSP. In: Calinescu, R., Rumpe, B. (eds.) SEFM 2015. LNCS, vol. 9276, pp. 283–290. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-22969-0_20

    Chapter  Google Scholar 

  10. Ferreira, F., Neves, L., Silva, M., Borba, P.: TaRGeT: a model based product line testing tool. In: Proceedings of CBSoft 2010 – Tools Panel (2010)

    Google Scholar 

  11. Gibson-Robinson, T., Armstrong, P., Boulgakov, A., Roscoe, A.W.: FDR3 — a modern refinement checker for CSP. In: Ábrahám, E., Havelund, K. (eds.) TACAS 2014. LNCS, vol. 8413, pp. 187–201. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-642-54862-8_13

    Chapter  MATH  Google Scholar 

  12. Nogueira, S., Araujo, H., Araujo, R., Iyoda, J., Sampaio, A.: Test case generation, selection and coverage from natural language. Science of Computer Programming (2018, under revision)

    Google Scholar 

  13. Nogueira, S., Sampaio, A., Mota, A.: Test Generation from State Based Use Case Models. Technical report, Cin-UFPE (2010). http://www.cin.ufpe.br/~scn/reports/jss10Extended.pdf

  14. Nogueira, S., Sampaio, A., Mota, A.: Test generation from state based use case models. Form. Asp. Comput. 26(3), 441–490 (2014)

    Article  MathSciNet  Google Scholar 

  15. Cornélio, M., Roscoe, B. (eds.): SBMF 2015. LNCS, vol. 9526, pp. 145–161. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-29473-5. chap. Automatic Generation of Test Cases and Test Purposes from Natural Language

    Book  Google Scholar 

  16. Roscoe, A.W.: The Theory and Practice of Concurrency. Prentice Hall PTR, Upper Saddle River (1998)

    Google Scholar 

  17. Roscoe, A.W.: Understanding Concurrent System. Springer, London (2011). https://doi.org/10.1007/978-1-84882-258-0

    Book  Google Scholar 

  18. Sampaio, A., Arruda, F.: Formal testing from natural language in an industrial context. In: Ribeiro, L., Lecomte, T. (eds.) SBMF 2016. LNCS, vol. 10090, pp. 21–38. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-49815-7_2

    Chapter  Google Scholar 

  19. Scattergood, J.: The Semantics and Implementation of Machine-Readable CSP. Ph.D. thesis, Oxford University Computing Laboratory (1998)

    Google Scholar 

  20. University of Oxford: FDR3 Web Site, May 2015

    Google Scholar 

Download references

Acknowledgements

We thank CAPES and the partnership CIn/UFPE-Motorola Mobility (a Lenovo company) for partially supporting the authors. Particularly, we thank Motorola’s Modem Testing Team for providing feedback about this work and opportunity to carry out a case study.

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Rafaela Almeida or Sidney Nogueira .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Almeida, R., Nogueira, S., Sampaio, A. (2018). Automatic Test Case Generation for Concurrent Features from Natural Language Descriptions. In: Massoni, T., Mousavi, M. (eds) Formal Methods: Foundations and Applications. SBMF 2018. Lecture Notes in Computer Science(), vol 11254. Springer, Cham. https://doi.org/10.1007/978-3-030-03044-5_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-03044-5_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-03043-8

  • Online ISBN: 978-3-030-03044-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics