Title :
Testing Central Processing Unit scheduling algorithms using Metamorphic Testing
Author :
Mingyue Jiang ; Tsong Yueh Chen ; Fei-Ching Kuo ; Zuohua Ding
Author_Institution :
Center of Math Comput. & Software Eng., Zhejiang Sci-Tech Univ., Hangzhou, China
Abstract :
Central Processing Unit (CPU) scheduling is used to allocate CPU for multiple processes. CPU is one of the most important resources in the computer system, and its scheduling is vital and influential in operating systems. Thus, it is necessary to ensure the correctness of the CPU scheduling program. However, testing the correctness of a scheduling program is difficult because it is hard to verify the correctness of its output, which is known as the test oracle problem in software testing. Metamorphic Testing (MT) which has been recently proposed to alleviate the test oracle problem, is applied to test the CPU scheduling program. In this paper, we use MT to test the Highest Response Ratio Next (HRRN) scheduling algorithm. Two simulators of HRRN scheduler are used in the evaluation of our method. Surprisingly, some real life faults in one open source simulator are detected by MT. Further experiments are performed based on mutants, and the experimental results show that MT is an effective strategy to test CPU scheduler.
Keywords :
operating systems (computers); processor scheduling; program testing; public domain software; CPU; HRRN scheduling algorithm; central processing unit scheduling algorithm; computer system; highest response ratio next; metamorphic testing; open source simulator; operating system; scheduling program testing; software testing; test oracle problem; Delays; Magnetic resonance imaging; Phase locked loops; Testing; Metamorphic Testing; Oracle Problem; Scheduling Algorithm; Software Testing; Test oracle;
Conference_Titel :
Software Engineering and Service Science (ICSESS), 2013 4th IEEE International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-1-4673-4997-0
DOI :
10.1109/ICSESS.2013.6615365