Swinburne
Browse

Metamorphic testing and testing with special values

Download (169.71 kB)
conference contribution
posted on 2024-07-13, 05:37 authored by Tsong ChenTsong Chen, Fei-Ching Kuo, Ying Liu, Antony TangAntony Tang
The problem of testing programs without test oracles is well known. A commonly used approach is to use special values in testing but this is often insufficient to ensure program correctness. This paper demonstrates the use of metamorphic testing to uncover faults in programs, which could not be detected by special test values. Metamorphic testing can be used as a complementary test method to special value testing. In this paper, the sine function and a search function are used as examples to demonstrate the usefulness of metamorphic testing. This paper also examines metamorphic relationships and the extent of their usefulness in program testing.

History

Available versions

PDF (Published version)

ISBN

9780970077684

Journal title

5th ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD 2004), Beijing, China, 30 June-02 July 2004 / Gongzhu Hu, Tai Huang, Xizhen Ni and Aoying Zhou (eds.)

Conference name

5th ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing SNPD 2004, Beijing, China, 30 June-02 July 2004 / Gongzhu Hu, Tai Huang, Xizhen Ni and Aoying Zhou eds.

Pagination

6 pp

Publisher

International Association for Computer and Information Science (ACIS)

Copyright statement

Copyright © 2004 The authors.

Language

eng

Usage metrics

    Publications

    Categories

    No categories selected

    Keywords

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC