Comparison of Metamoprhic Testing and Special Value Testing using the properties of SUT

Main Article Content

Amanjot Singh
Sandeep Kang
Parminder Singh

Abstract

When testing a program, correctly executed test cases are seldom explored further, even though they may carry useful information. Metamorphic testing proposes to use special test cases to check important properties of the target function. It does not need a human oracle to verify, compare or predict output . An “oracle†in software testing is a procedure by which testers can decide whether the output of the program under testing is correct. In some situations, however, the oracle is not available or too difficult to apply. This is known as the “oracle problemâ€. The manual prediction and verification of program output greatly decreases the efficiency and increases the cost of testing. A metamorphic testing method has been proposed to test programs without the involvement of an oracle. It employs properties of the target function, known as metamorphic relations, to generate follow-up test cases and verify the outputs automatically.

Downloads

Download data is not yet available.

Article Details

Section
Articles

References

. Beizer, B. Software Testing Techniques, Van Nostrand Reinhold, New York, ‘1990’.

. T. J. Cheatham, J. P. Yoo, and N. J. Wahl. Software testing: a machine learning experiment. In Proc. of the ACM 23rd

. T. Y. Chen, S. C. Cheung, and S. Yiu. Metamorphic testing: a new approach for generating next test cases. Technical Report HKUST-CS98-01, Department of Computer Science, Hong Kong University of Science and Technology, ‘1998’. Annual Conference on Computer Science, ‘1995’.

. Chen, T.Y., Cheung, S.C., and Yiu, S.M. Metamorphic testing: a new approach for generating next testcases, Technical Report HKUST-CS98-01, Department of Computer Science, Hong Kong University of Science and Technology, Hong Kong, ‘1998’.

. Chen, T.Y., Feng, J., and Tse, T.H. Metamorphic testing of programs on partial differential equations: a case study, In Proceedings of the 26th Annual International Computer Software and Applications Conference (COMPSAC 2002), IEEE Computer Society Press, Los Alamitos, California, ‘2002’

. Chen, T.Y., Kuo, F.-C., Liu, Y., and Tang, A. Metamorphic testing and testing with special values, In Proceedings of the 5th International Conference on Software Engineering, Artificial Intelligence, Networking, and Parallel /Distributed Computing (SNPD 2004), International Association for Computer and Information Science, Mt. Pleasant, Michigan, ‘2004’.

. Chen, T.Y., Tse, T.H., and Zhou, Z.Q., Fault-based testing without the need of oracles, Information and Software Technology, 45 (1), ‘2003’.

. Gotlieb, A. and Botella, B. Automated metamorphic testing, In Proceedings of the 27th Annual International Computer Software and Applications Conference(COMPSAC 2003), IEEE Computer Society Press, Los Alamitos, California, ‘2003’

. T.Y. Chen, F.-C. Kuo , T.H. Tse , Zhi Quan Zhou Metamorphic Testing and Beyond Proceedings of the International Workshop on Software Technology and Engineering Practice (STEP 2003), IEEE Computer Society Press, Los Alamitos, California (2004)