Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Introducing Regression Tests and Upgrades to the INTO-CPS Application

  • Conference paper
  • First Online:
Software Engineering and Formal Methods. SEFM 2020 Collocated Workshops (SEFM 2020)

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

Included in the following conference series:

  • 611 Accesses

Abstract

In this paper, we report on the progress made to upgrade and develop a stable upgrading process to the INTO-CPS Application, an Electron.js based desktop application providing a front-end to an INtegrated TOolchain, which is used to develop Cyber-Physical Systems models. We added regression tests to the codebase and for the first time can detect the loss of functionality of the application and its accompanying training tutorials using an automated process. The tests were developed on top of the Mocha, Chai and Spectron frameworks and cover all the tutorials steps performed in the desktop application (approximately 33% of the app and other tools total). The testing process is not yet ready to be deployed in the also recently developed GitHub Actions automated workflow, but this is a possibility to be considered in future developments. We expect this work to improve the stability and security of the code, thus improving user experience.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.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
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 EPUB and 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

Similar content being viewed by others

Notes

  1. 1.

    See https://www.electronjs.org/.

  2. 2.

    See https://angular.io/.

  3. 3.

    See http://www.modelio.org/.

  4. 4.

    See http://overturetool.org/.

  5. 5.

    See http://www.20sim.com/.

  6. 6.

    See https://www.openmodelica.org/.

  7. 7.

    See http://www.verified.de/products/rt-tester/.

  8. 8.

    See https://github.com/INTO-CPS-Association/training.

  9. 9.

    See https://github.com/electron-userland/spectron.

  10. 10.

    See https://mochajs.org/.

  11. 11.

    See https://www.chaijs.com/.

  12. 12.

    See https://nodejs.org/.

  13. 13.

    See https://www.npmjs.com/.

References

  1. Amalio, N., Cavalcanti, A., Miyazawa, A., Payne, R., Woodcock, J.: Foundations of the SysML for CPS modelling. Technical report, INTO-CPS Deliverable, D2.2a, December 2016

    Google Scholar 

  2. Fitzgerald, J., Gamble, C., Larsen, P.G., Pierce, K., Woodcock, J.: Cyber-physical systems design: formal foundations, methods and integrated tool chains. In: FormaliSE: FME Workshop on Formal Methods in Software Engineering, ICSE 2015, Florence, Italy, May 2015

    Google Scholar 

  3. Gomes, C., Thule, C., Broman, D., Larsen, P.G., Vangheluwe, H.: Co-simulation: a survey. ACM Comput. Surv. 51(3), 1–33 (2018)

    Article  Google Scholar 

  4. Larsen, P.G., et al.: The integrated toolchain for cyber-physical systems (INTO-CPS): a guide. Technical report, INTO-CPS Association, October 2018. www.into-cps.org

  5. Larsen, P.G., et al.: Frontiers in software engineering education. In: Bruel, J.M., Capozucca, A., Mazzara, M., Meyer, B., Naumchev, A., Sadovykh, A. (eds.) Frontiers in Software Engineering Education, pp. 196–213. Springer International Publishing, Cham (2020)

    Chapter  Google Scholar 

  6. Macedo, H.D., Rasmussen, M.B., Thule, C., Larsen, P.G.: Migrating the INTO-CPS application to the cloud. In: Sekerinski, E., et al. (eds.) FM 2019. LNCS, vol. 12233, pp. 254–271. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-54997-8_17

    Chapter  Google Scholar 

  7. Pohlmann, U., Schäfer, W., Reddehase, H., Röckemann, J., Wagner, R.: Generating functional mockup units from software specifications. In: Modelica Conference (2012)

    Google Scholar 

  8. Rasmussen, M.B., Thule, C., Macedo, H.D., Larsen, P.G.: Migrating the INTO-CPS application to the cloud. In: Gamble, C., Couto, L.D. (eds.) Proceeding 17th Overture Workshop, pp. 47–61. Newcastle University Technical Report CS-TR-1530, October 2019

    Google Scholar 

  9. Thule, C., Lausdahl, K., Gomes, C., Meisl, G., Larsen, P.G.: Maestro: the INTO-CPS co-simulation framework. Simul. Model. Pract. Theor. 92,45–61 (2019). http://www.sciencedirect.com/science/article/pii/S1569190X1830193X

Download references

Acknowledgements

We acknowledge the European Union for funding the INTO-CPS project (Grant Agreement 644047) which developed the open toolchain and the INTO-CPS Application, the Poul Due Jensen Foundation that has funded subsequent work on taking this forward towards the engineering of digital twins and the European Union for funding the HUBCAP (Grant Agreement 872698) project.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Prasad Talasila .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Talasila, P., Sanjari, A., Villadsen, K., Thule, C., Larsen, P.G., Macedo, H.D. (2021). Introducing Regression Tests and Upgrades to the INTO-CPS Application. In: Cleophas, L., Massink, M. (eds) Software Engineering and Formal Methods. SEFM 2020 Collocated Workshops. SEFM 2020. Lecture Notes in Computer Science(), vol 12524. Springer, Cham. https://doi.org/10.1007/978-3-030-67220-1_23

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-67220-1_23

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-67219-5

  • Online ISBN: 978-3-030-67220-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics