Metamorphic Testing and DSL for Test Cases & Checker Generators
Journal: Olympiads in Informatics (Vol.9, No. 1)Publication Date: 2015-08-01
Authors : Ryan Ignatius HADIWIJAYA; M.M.Inggriani LIEM.;
Page : 75-88
Keywords : test case generation; programming task checker; programming competition; Knapsack problem; Greedy problem; metamorphic testing;
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.
Other Latest Articles
- Introducing tcframe: A Simple and Robust Test Cases Generation Framework
- Time domain System Identification of Longitudinal Dynamics of Single Rotor Model Helicopter using SIDPAC
- Towards a Better Way to Teach Dynamic Programming
- Efficient Range Minimum Queries using Binary Indexed Trees
- Methodology for Characterization of Cognitive Activities when Solving Programming Problems of an Algorithmic Nature
Last modified: 2016-01-18 22:47:59