Intramorphic Testing: A New Approach to the Test Oracle Problem

10/20/2022
by   Manuel Rigger, et al.
0

A test oracle determines whether a system behaves correctly for a given input. Automatic testing techniques rely on an automated test oracle to test the system without user interaction. Important families of automated test oracles include Differential Testing and Metamorphic Testing, which are both black-box approaches; that is, they provide a test oracle that is oblivious to the system's internals. In this work, we propose Intramorphic Testing as a white-box methodology to tackle the test oracle problem. To realize an Intramorphic Testing approach, a modified version of the system is created, for which, given a single input, a test oracle can be provided that relates the output of the original and modified systems. As a concrete example, by replacing a greater-equals operator in the implementation of a sorting algorithm with smaller-equals, it would be expected that the output of the modified implementation is the reverse output of the original implementation. In this paper, we introduce the methodology and illustrate it via a set of use cases.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/12/2020

Object-based Metamorphic Testing through Image Structuring

Testing software is often costly due to the need of mass-producing test ...
research
09/08/2018

An automated model-based test oracle for access control systems

In the context of XACML-based access control systems, an intensive testi...
research
05/04/2021

A Review on Oracle Issues in Machine Learning

Machine learning contrasts with traditional software development in that...
research
10/08/2018

Design by adaptive sampling

We present a probabilistic modeling framework and adaptive sampling algo...
research
05/16/2019

TERMINATOR: Better Automated UI Test Case Prioritization

Automated UI testing is an important component of the continuous integra...
research
02/20/2018

Quality Assurance of Bioinformatics Software: A Case Study of Testing a Biomedical Text Processing Tool Using Metamorphic Testing

Bioinformatics software plays a very important role in making critical d...
research
05/04/2023

"Oops, Did I Just Say That?" Testing and Repairing Unethical Suggestions of Large Language Models with Suggest-Critique-Reflect Process

As the popularity of large language models (LLMs) soars across various a...

Please sign up or login with your details

Forgot password? Click here to reset