Introducing tcframe: A Simple and Robust Test Cases Generation Framework
Journal: Olympiads in Informatics (Vol.9, No. 1)Publication Date: 2015-08-01
Authors : Ashar FUADI;
Page : 57-73
Keywords : test case; test cases generator; test cases framework;
Abstract
Preparing test cases is a vital step in a programming contest. Creating all test cases manually by hand is hard and error-prone, so they should be generated by programs. There have been several attempts at creating a framework for test cases generation, that involve writing a generator program that generates the test cases, and a validator program that validates whether the produced test cases conform to the constraints. This paper proposes a simpler yet robust framework, called tcframe, for generating test cases especially for programming contest problems. The proposed approach involves writing a single self-validating C++ generator program as opposed to writing two separate programs. The framework API is designed in such a way that the resulting generator program is easy to read and modify. Using this framework, programming contest organizers can produce generator programs with a consistent and similar structure across all problems.
Other Latest Articles
- 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
- Influence of Amino-Ffunctional Macro and Micro Silicone Softeners on the Properties of Cotton Fabric
Last modified: 2016-01-18 22:46:16