UTHM Institutional Repository

Comparison on correctness, time taken and memory used in web applications using unit and integration testing

Algarai, Elhadi Elfitory (2014) Comparison on correctness, time taken and memory used in web applications using unit and integration testing. Masters thesis, Universiti Tun Hussein Onn Malaysia.

[img]
Preview
PDF
ELHADI_ELFITORY_ALGARAI_24.pdf

Download (1MB)

Abstract

Web testing is the name given to software testing that focuses on web applications. A complete testing of a web-based system before going live can help to address issues before the system is revealed to the public. Issues such as the security of the web application, the basic functionality of the site, its accessibility to handicapped users and fully able users as well as readiness for expected traffic and number of users, and the ability to survive a massive spike in user traffic are related to load testing. This project describes the generation of various test cases for web application in two case studies by using unit testing and integration testing and the comparison in terms of Correctness, Memory Used and Time Taken. The experimental results showed the same Correctness rate for both unit and integration testing with the 80% for the case study 1 and 75% for the case study 2. Magnitude of relative error (MRE) for Time Taken using unit testing was 0.227 in case study 1 and 0.214 in case study 2. Meanwhile, for Integration testing, MRE for Time taken was 0.149 in case study 1 and 0.108 in case study 2. MRE for memory used during unit testing was 0.060 in case study 1 and 0.066 in case study 2. When using integration testing, MRE for memory used was 0.161 in case study 1 and 0.169 in case study 2. Based on the experimental results, MRE for Time taken using Integration testing is better than MRE for Time taken using Unit testing. However, the MRE for Memory used using Unit testing is better than MRE for Memory used using Integration testing.

Item Type: Thesis (Masters)
Subjects: Q Science > QA Mathematics > QA76 Computer software
Depositing User: Normajihan Abd. Rahman
Date Deposited: 10 Dec 2014 08:38
Last Modified: 10 Dec 2014 08:38
URI: http://eprints.uthm.edu.my/id/eprint/6148
Statistic Details: View Download Statistic

Actions (login required)

View Item View Item

Downloads

Downloads per month over past year