The University of Sheffield
Department of Computer Science

Ahmad Faiz Ahmad Shukri MSc Dissertation 2014/15

Block-Unit, A Web-based Visual Block Programming Editor for Unit Tests Block-Unit, A Web-based Visual Block Programming Editor for Unit Tests

Supervised by G.Fraser

Abstract

Software testing is one of the most important phase in Software Development Life Cycle (SDLC). There is quite a few test type that has been practiced today, and unit testing was one and the most basic among them.   Unit   test is used to tests the smallest unit of the code, typically a method or a function, and usually wrote by software tester or developer who wrote the code itself. This helps the developer to verify that the code is work as expected. The test can be run at any time during the development, and reduce the need of doing   manual   testing whenever the code has been changed. As a result, it improves the quality of the code and at the same time make development process faster.

The aim of developing this project, named as   Block-Unit,   is to add more fun while writing   unit   test, by using a Visual Block Programming Editor as a medium to generate   unit   test. It is a web-based application that lets   user   to create   an interactive, media-rich project.   User   can create unit testing easily by simply drag and drop blocks into the workspace to build a test case representation, which is then being used to generate the actual unit test code.

Software testing is one of the most important phase in Software Development Life Cycle (SDLC). There is quite a few test type that has been practiced today, and unit testing was one and the most basic among them.Unittest is used to tests the smallest unit of the code, typically a method or a function, and usually wrote by software tester or developer who wrote the code itself. This helps the developer to verify that the code is work as expected. The test can be run at any time during the development, and reduce the need of doingmanualtesting whenever the code has been changed. As a result, it improves the quality of the code and at the same time make development process faster. The aim of developing this project, named asBlock-Unit,is to add more fun while writingunittest, by using a Visual Block Programming Editor as a medium to generateunittest. It is a web-based application that letsuserto createan interactive, media-rich project.Usercan create unit testing easily by simply drag and drop blocks into the workspace to build a test case representation, which is then being used to generate the actual unit test code.