Skip to main content
Erschienen in:
Buchtitelbild

2019 | OriginalPaper | Buchkapitel

GUI Testing for Introductory Object-Oriented Programming Exercises

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Automated testing is necessary in large classrooms where many students learn a programming language. This paper presents a method to test and score student programs with graphical user interfaces written in JavaFX. The method is based on scripts that analyzes the structure of programs under test and simulates user’s interactions. We implemented several utility methods to write the testing scripts easy. No additional software library is required to run the scripts. Preliminary evaluation results are shown on the developing and executing of scripts for real exercises in our introductory programming classrooms.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Ruiz, A., Price, Y.W.: Test-driven GUI development with TestNG and Abbot. IEEE Softw. 24(3), 51–57 (2007)CrossRef Ruiz, A., Price, Y.W.: Test-driven GUI development with TestNG and Abbot. IEEE Softw. 24(3), 51–57 (2007)CrossRef
2.
Zurück zum Zitat Nguyen, B.N., Robbins, B., Banerjee, I., Memon, A.: GUITAR: an innovative tool for automated testing of GUI-driven software. Autom. Softw. Eng. (Springer) 21(1), 65–105 (2014)CrossRef Nguyen, B.N., Robbins, B., Banerjee, I., Memon, A.: GUITAR: an innovative tool for automated testing of GUI-driven software. Autom. Softw. Eng. (Springer) 21(1), 65–105 (2014)CrossRef
3.
Zurück zum Zitat Mlynarski, M., Güldali, B., Weißleder, S., Engels, G.: Model-based testing: achievements and future challenges. Adv. Comput. (Elsevier) 86, 1–39 (2012) Mlynarski, M., Güldali, B., Weißleder, S., Engels, G.: Model-based testing: achievements and future challenges. Adv. Comput. (Elsevier) 86, 1–39 (2012)
4.
Zurück zum Zitat Adamoli, A., Zaparanuks, D., Jovic, M.: Automated GUI performance testing. Softw. Qual. J. (Springer) 19(4), 801–839 (2011)CrossRef Adamoli, A., Zaparanuks, D., Jovic, M.: Automated GUI performance testing. Softw. Qual. J. (Springer) 19(4), 801–839 (2011)CrossRef
5.
Zurück zum Zitat Schildt, H.: Introducing JavaFX 8 Programming. McGraw-Hill (2015) Schildt, H.: Introducing JavaFX 8 Programming. McGraw-Hill (2015)
6.
Zurück zum Zitat Ihantola, P., Ahoniemi, T., Karavirta, V., Seppälä, O.: Review of recent systems for automatic assessment of programming assignments. In: Proceedings of the 10th Koli Calling International Conference on Computing Education Research, pp. 86–93 (2010) Ihantola, P., Ahoniemi, T., Karavirta, V., Seppälä, O.: Review of recent systems for automatic assessment of programming assignments. In: Proceedings of the 10th Koli Calling International Conference on Computing Education Research, pp. 86–93 (2010)
7.
Zurück zum Zitat Gray, G.R., Higgins, C.A.: An introspective approach to marking graphical user interfaces. ACM SIGCSE Bull. 38(3), 43–47 (2006)CrossRef Gray, G.R., Higgins, C.A.: An introspective approach to marking graphical user interfaces. ACM SIGCSE Bull. 38(3), 43–47 (2006)CrossRef
8.
Zurück zum Zitat Thornton, M., Edwards, S.H., Tan, R.P., Pérez-Quiñones, M.: Supporting student-written tests of GUI programs. ACM SIGCSE Bull. 40(1), 537–541 (2008)CrossRef Thornton, M., Edwards, S.H., Tan, R.P., Pérez-Quiñones, M.: Supporting student-written tests of GUI programs. ACM SIGCSE Bull. 40(1), 537–541 (2008)CrossRef
9.
Zurück zum Zitat Ahmadzadeh, M., Janghorban, M., Jamasb, B.: JavaMarker extended: an Eclipse plugin to mark Java GUI programs. Int. J. Comput. Appl. 29(10), 47–51 (2011) Ahmadzadeh, M., Janghorban, M., Jamasb, B.: JavaMarker extended: an Eclipse plugin to mark Java GUI programs. Int. J. Comput. Appl. 29(10), 47–51 (2011)
10.
Zurück zum Zitat Snyder, J., Edwards, S.H., Pérez-Quiñones, M.A.: LIFT: taking GUI unit testing to new heights. In: Proceedings of the 42nd ACM Technical Symposium on Computer Science Education, pp. 643–648 (2011) Snyder, J., Edwards, S.H., Pérez-Quiñones, M.A.: LIFT: taking GUI unit testing to new heights. In: Proceedings of the 42nd ACM Technical Symposium on Computer Science Education, pp. 643–648 (2011)
11.
Zurück zum Zitat Kruk, G., Alves, O., Molinari, L., Roux, E.: Best practices for efficient development of JavaFX applications. In: Proceedings of the 16th International Conference on Accelerator and Large Experimental Control Systems, pp. 1078–1083 (2017) Kruk, G., Alves, O., Molinari, L., Roux, E.: Best practices for efficient development of JavaFX applications. In: Proceedings of the 16th International Conference on Accelerator and Large Experimental Control Systems, pp. 1078–1083 (2017)
12.
Zurück zum Zitat Klammer, C., Ramler, R., Stummer, H.: Harnessing automated test case generators for GUI testing in industry. In: Proceedings of the 42th Euromicro Conference on Software Engineering and Advanced Applications, pp. 227–234 (2016) Klammer, C., Ramler, R., Stummer, H.: Harnessing automated test case generators for GUI testing in industry. In: Proceedings of the 42th Euromicro Conference on Software Engineering and Advanced Applications, pp. 227–234 (2016)
13.
Zurück zum Zitat Akahane, Y., Kitaya, H., Inoue, U.: Design and evaluation of automated scoring Java programming assignments. In: Proceedings of the 16th IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing, pp. 1–6 (2015) Akahane, Y., Kitaya, H., Inoue, U.: Design and evaluation of automated scoring Java programming assignments. In: Proceedings of the 16th IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing, pp. 1–6 (2015)
Metadaten
Titel
GUI Testing for Introductory Object-Oriented Programming Exercises
verfasst von
Ushio Inoue
Copyright-Jahr
2019
DOI
https://doi.org/10.1007/978-3-319-96806-3_1

Premium Partner