• Home
  • Search
  • SEGATE: Unveiling Semantic Inconsistencies between Code and Specification of String Inputs
  • https://doi.org/10.1109/ase.2019.00028Copy DOI Icon

SEGATE: Unveiling Semantic Inconsistencies between Code and Specification of String Inputs

  • Nov 1, 2019
  • Devika Sondhi +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

Automated testing techniques are often assessed on coverage based metrics. However, despite giving good coverage, the test cases may miss the gap between functional specification and the code implementation. This gap may be subtle in nature, arising due to the absence of logical checks, either in the implementation or in the specification, resulting in inconsistencies in the input definition. The inconsistencies may be prevalent especially for structured inputs, commonly specified using string-based data types. Our study on defects reported over popular libraries reveals that such gaps may not be limited to input validation checks. We propose a test generation technique for structured string inputs where we infer inconsistencies in input definition to expose semantic gaps in the method under test and the method specification. We assess this technique using our tool Segate, Semantic Gap Tester. Segate uses static analysis and automaton modeling to infer the gap and generate test cases. On our benchmark dataset, comprising of defects reported in 15 popular open-source libraries, written in Java, Segate was able to generate tests to expose 80% of the defects.

Similar Papers
  • Conference Article
  • Citations19

Automatic test case selection and generation for regression testing of composite service based on extensible BPEL flow graph

  • Sep 01, 2010
  • Bixin Li +3
  • Research Article
  • Citations1

Automated Test Case Generation for Effective Spectrum-based Fault Localization

  • Jun 01, 2020
  • Journal of Physics: Conference Series
  • Bo Yang +2
  • Conference Article
  • Citations1

Automated Test Case Generation from Activity Diagram using Depth-First Search

  • Aug 09, 2023
  • Ignasius Teguh Raharjo Rubiyo +2
  • Dissertation

Towards DO-178C compatible tool design

  • Feb 01, 2016
  • Yijia Xu
  • Research Article
  • Citations73

Killing strategies for model‐based mutation testing

  • Feb 03, 2014
  • Software Testing, Verification and Reliability
  • Bernhard K Aichernig +5
  • Conference Article
  • Citations47

RTCM: a natural language based, automated, and practical test case generation framework

  • Jul 13, 2015
  • Tao Yue +2
  • Conference Article
  • Citations3

The Use of Ontology in Case Based Reasoning for Reusable Test Case Generation

  • Jan 01, 2015
  • R Li +1
  • Book Chapter
  • Citations1

Test Case Generation Based on Search-Based Testing

  • Oct 31, 2020
  • Rashmi Rekha Sahoo +2
  • Research Article
  • Citations1

一种基于扩展有限状态机的自动化测试用例生成方法

  • May 01, 2014
  • SCIENTIA SINICA Informationis
  • Zhiyi Zhang +4
  • Conference Article
  • Citations1

Using Hypergraph as Modeling Language for Generating Test Cases On Demand

  • Nov 30, 2004
  • K.R.P.H Leung
  • Conference Article
  • Citations27

Constructing Test cases using Natural Language Processing

  • Feb 01, 2017
  • Ahlam Ansari +3
  • Research Article
  • Citations1

Context-Aware Fuzzing for Robustness Enhancement of Deep Learning Models

  • Dec 31, 2024
  • ACM Transactions on Software Engineering and Methodology
  • Haipeng Wang +3
  • Conference Article
  • Citations10

Computational investigations of quasirandom sequences in generating test cases for specification-based tests

  • Dec 03, 2006
  • Hongmei Chi +1
  • Research Article

Extension to Support Types and Operation/Function Definitions in BWDM to Generate Test Case Tool from the VDM++ Specification

  • Feb 22, 2024
  • Proceedings of International Conference on Artificial Life and Robotics
  • Shota Takakura +5
  • Conference Article
  • Citations8

Improving Signature Testing through Dynamic Data Flow Analysis

  • Dec 01, 2007
  • Christopher Kruegel +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.