A Testing Extension for Scratch
Herart Dominggus Nurue, Jeff Gray · 2024
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.