skip to main content
10.1145/3603287.3651217acmconferencesArticle/Chapter ViewAbstractPublication Pagesacm-seConference Proceedingsconference-collections
short-paper
Free Access

A Testing Extension for Scratch

Published:27 April 2024Publication History

ABSTRACT

Scratch allows programmers to create interactive stories, games, and animations using coding blocks rather than traditional textual programming languages. Scratch provides an intuitive, blocks-based interface that makes it easy for beginners to create programs. As Scratch programs become more complicated, there is a higher potential for programming mistakes to emerge. Scratch programmers often encounter sprite behavior, event sequencing, and data handling issues. A testing extension can serve as a valuable addition to the Scratch environment, assisting users in identifying and resolving such errors. This paper introduces the concept of a software testing extension in Scratch that includes an assert block. This short paper provides a detailed motivation for the need to support testing in Scratch through an example that demonstrates how the proposed testing extension can be used. The Scratch extension can help students identify errors within their program and facilitate a valuable learning process through a test-driven focus.

References

  1. Pekka Aho, Matias Suarez, Atif Memon, and Temu Kanstrén. 2015. Making GUI Testing Practical: Bridging the Gaps. In 2015 12th International Conference on Information Technology-New Generations. IEEE, Las Vegas, United States, 439--444.Google ScholarGoogle Scholar
  2. Adina Deiner, Christoph Frädrich, Gordon Fraser, Sophia Geserer, and Niklas Zantner. 2020. Search-based Testing for Scratch Programs. In International Symposium on Search Based Software Engineering. Bari, Italy. https://api.semanticscholar.org/CorpusID:221555358Google ScholarGoogle Scholar
  3. Jordan Fernando and Inggriani Liem. 2014. Components and Architectural Design of an Autograder System Family. Taipei, Taiwan. https://api.semanticscholar.org/CorpusID:55353388Google ScholarGoogle Scholar
  4. Christoph Frädrich, Florian Obermüller, Nina Körber, Ute Heuer, and Gordon Fraser. 2020. Common Bugs in Scratch Programs. In Proceedings of the 2020 ACM conference on innovation and technology in computer science education. Trondheim, Norway, 89--95.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Diana Franklin, Phillip Conrad, Bryce Boe, Katy Nilsen, Charlotte Hill, Michelle Len, Greg Dreschler, Gerardo Aldana, Paulo Almeida-Tanaka, Brynn Kiefer, et al. 2013. Assessment of Computer Science Learning in a Scratch-based Outreach Program. In Proceeding of the 44th ACM technical symposium on Computer science education. Denver, United States, 371--376.Google ScholarGoogle Scholar
  6. Felienne Hermans and Efthimia Aivaloglou. 2017. To Scratch or not to Scratch? A Controlled Experiment Comparing Plugged First and Unplugged First Programming Lessons. In Proceedings of the 12th workshop on primary and secondary computing education. Nijmegen, Netherlands, 49--56.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. David E Johnson. 2016. Itch: Individual Testing of Computer Homework for Scratch Assignments. In Proceedings of the 47th ACM Technical Symposium on Computing Science Education. Memphis, United States, 223--227.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Nina Körber. 2021. Anomaly Detection in Scratch Assignments. In 2021 IEEE/ACM 43rd International Conference on Software Engineering: Companion Proceedings (ICSE-Companion). IEEE, Madrid, Spain, 111--113.Google ScholarGoogle Scholar
  9. Nina Körber, Katharina Geldreich, Andreas Stahlbauer, and Gordon Fraser. 2021. Finding Anomalies in Scratch Assignments. In 2021 IEEE/ACM 43rd International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET). IEEE, Melbourne, Australia, 171--182.Google ScholarGoogle Scholar
  10. Maren Krafft, Gordon Fraser, and Neil Walkinshaw. 2020. Motivating Adult Learners by Introducing Programming Concepts with Scratch. In Proceedings of the 4th European Conference on Software Engineering Education. Seeon, Germany, 22--26.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Xiao Liu, Shuai Wang, Pei Wang, and Dinghao Wu. 2019. Automatic Grading of Programming Assignments: an Approach based on Formal Semantics. In 2019 IEEE/ACM 41st International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET). IEEE, Montreal, Canada, 126--137.Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Will Marrero and Amber Settle. 2005. Testing First: Emphasizing Testing in Early Programming Courses. In Proceedings of the 10th annual SIGCSE conference on Innovation and technology in computer science education. Caparica, Portugal, 4--8.Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Orni Meerbaum-Salant, Michal Armoni, and Mordechai Ben-Ari. 2011. Habits of Programming in Scratch. In Proceedings of the 16th Annual Joint Conference on Innovation and Technology in Computer Science Education (Darmstadt, Germany) (ITiCSE '11). Darmstadt, Germany, 168--172.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Jesús Moreno-León and Gregorio Robles. 2015. Dr. Scratch: A Web Tool to Automatically Evaluate Scratch Projects. In Proceedings of the workshop in primary and secondary computing education. London, United Kingdom, 132--133.Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Florian Obermüller, Luisa Greifenstein, and Gordon Fraser. 2023. Effects of Automated Feedback in Scratch Programming Tutorials. In Proceedings of the 2023 Conference on Innovation and Technology in Computer Science Education V. 1. Turku, Finland, 396--402.Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Andreas Stahlbauer, Christoph Frädrich, and Gordon Fraser. 2020. Verified From Scratch: Program Analysis for Learners' Programs. In Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering. Virtual Event, Australia, 150--162.Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Andreas Stahlbauer, Marvin Kreis, and Gordon Fraser. 2019. Testing Scratch Programs Automatically. In Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering. Tallinn, Estonia, 165--175.Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Hussel Suriyaarachchi, Paul Denny, and Suranga Nanayakkara. 2022. Scratch and Sense: Using Real-Time Sensor Data to Motivate Students Learning Scratch. In Proceedings of the 53rd ACM Technical Symposium on Computer Science Education-Volume 1. Providence, United States, 983--989.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A Testing Extension for Scratch

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      ACM SE '24: Proceedings of the 2024 ACM Southeast Conference
      April 2024
      337 pages
      ISBN:9798400702372
      DOI:10.1145/3603287

      Copyright © 2024 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 27 April 2024

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • short-paper
      • Research
      • Refereed limited

      Acceptance Rates

      ACM SE '24 Paper Acceptance Rate44of137submissions,32%Overall Acceptance Rate178of377submissions,47%
    • Article Metrics

      • Downloads (Last 12 months)18
      • Downloads (Last 6 weeks)18

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader