Exploiting annotations to test break-off branches

I. S.W.B. Prasetya, J. Hage, A. Elyasov

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

Abstract

Programs often contain branches to break off from their main execution. These branches contribute to the total cost of testing, because they also need to be tested. The paper presents a new approach to improve the testing of such branches by annotating them. Our tool automatically generates test-sequences. Then, invariants in the form of pre-and post-condition over the executions passing each annotated branch are dynamically inferred, and reported to the programmer for inspection. Contradiction with the programmer's assumption on what the behavior should be indicates a bug. As invariants, a certain class of simple expressions are proposed, which are discriminative enough for testing break-off behavior, while keeping their amount feasible for inspection.

Original languageEnglish
Title of host publicationProceedings - 22nd Asia-Pacific Software Engineering Conference, APSEC 2015
PublisherIEEE
Pages80-87
Number of pages8
Volume2016-May
ISBN (Electronic)9781467396448
DOIs
Publication statusPublished - 9 May 2016
Event22nd Asia-Pacific Software Engineering Conference, APSEC 2015 - New Delhi, India
Duration: 1 Dec 20154 Dec 2015

Conference

Conference22nd Asia-Pacific Software Engineering Conference, APSEC 2015
Country/TerritoryIndia
CityNew Delhi
Period1/12/154/12/15

Keywords

  • Automated testing Java
  • Automated testing Object Oriented programs
  • Automated unit testing
  • Invariant inference
  • Specification mining

Fingerprint

Dive into the research topics of 'Exploiting annotations to test break-off branches'. Together they form a unique fingerprint.

Cite this