Using executable specification and regression testing for broadcast mechanism of visual programming language on smartphones

Zulfiqar Ali*, Aiman Mamdouh Ayyal Awwad, Wolfgang Slany

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review


The rapid advancement of mobile computing technology and the rising usage of mobile apps made our daily life more productive. The mobile app should operate all the time bug-free in order to improve user satisfaction and offers great business value to the end user. At the same time, smartphones are full of special features that make testing of apps more challenging. Actually, the quality is a must for successful applications and it cannot be achieved without testing and verification. In this paper, we present the behavior driven development methodology and Cucumber framework to automate regression testing for Android apps. Particularly, the proposed methods use the visual programming language for smartphones (Catrobat) as a reference. The Catrobat program scripts communicate via a broadcast mechanism. The objective is to test the broadcast mechanism from different angles and track regression errors as well as specify and diagnose bugs with the help of executable specifications. The results show that the methods are able to effectively reveal deficiencies in the broadcast mechanism, and ensure that the app meets end users' expectations and needs.

Original languageEnglish
Pages (from-to)50-65
Number of pages16
JournalInternational Journal of Interactive Mobile Technologies
Issue number2
Publication statusPublished - 1 Jan 2019


  • Behavior driven development
  • Catrobat
  • Mobile application
  • Regression testing
  • Visual programming language

ASJC Scopus subject areas

  • Computer Science Applications
  • Computer Networks and Communications

Cite this