ResearchBib Share Your Research, Maximize Your Social Impacts
Sign for Notice Everyday Sign up >> Login

Metamorphic Testing and DSL for Test Cases & Checker Generators

Journal: Olympiads in Informatics (Vol.9, No. 1)

Publication Date:

Authors : ; ;

Page : 75-88

Keywords : test case generation; programming task checker; programming competition; Knapsack problem; Greedy problem; metamorphic testing;

Source : Downloadexternal Find it from : Google Scholarexternal

Abstract

In programming competition, a problem setter must prepare a task description, program solution, test cases and sometimes a checker. Test cases should be able to capture all possible cases; therefore, its preparation is time-consuming. Metamorphic Testing (MT) is a roperty-based testing method where relationships are defined between input and output to alleviate a test oracle problem. The success of MT relies on the existence of a Metamorphic Relation which is comprised of two interrelated relations: the test-case relation and the test-result relation. MR can be used for automated test-case generation and verification of results. In this research, we defined a Domain Specific Language (DSL) to describe metamorphic relations that will be used for test case and checker generation of programming tasks. Our method has been tested for tasks with Knapsack, Greedy, and Dynamic Programming solutions, and it has been proven, reliable, reusable and more systematic.

Last modified: 2016-01-18 22:47:59