• LOGIN
    Login with username and password
Repository logo

BORIS Portal

Bern Open Repository and Information System

  • Publications
  • Theses
  • Research Data
  • Projects
  • Organizations
  • Researchers
  • More
  • Collections
  • Statistics
  • LOGIN
    Login with username and password
Repository logo
Unibern.ch
  1. Home
  2. Publications
  3. Test Blueprints - Exposing Side Effects in Execution Traces to Support Writing Unit Tests
 

Test Blueprints - Exposing Side Effects in Execution Traces to Support Writing Unit Tests

Options
  • Details
  • Files
BORIS DOI
10.7892/boris.37137
Publisher DOI
10.1109/CSMR.2008.4493303
Description
Writing unit tests for legacy systems is a key maintenance task. When writing tests for object-oriented programs, objects need to be set up and the expected effects of executing the unit under test need to be verified. If developers lack internal knowledge of a system, the task of writing tests is non-trivial. To address this problem, we propose an approach that exposes side effects detected in example runs of the system and uses these side effects to guide the developer when writing tests. We introduce a visualization called Test Blueprint, through which we identify what the required fixture is and what assertions are needed to verify the correct behavior of a unit under test. The dynamic analysis technique that underlies our approach is based on both tracing method executions and on tracking the flow of objects at runtime. To demonstrate the usefulness of our approach we present results from two case studies.
Date of Publication
2008
Publication Type
Conference Item
Subject(s)
000 Computer science, knowledge & systems
Language(s)
en
Contributor(s)
Lienhard, Adrian
Institut für Informatik (INF)
Girba, Tudor Adrian
Institut für Informatik (INF)
Greevy, Orla
Institut für Informatik (INF)
Nierstrasz, Oscar
Institut für Informatik (INF)
Additional Credits
Institut für Informatik (INF)
Publisher
IEEE Computer Society
ISBN
978-1-4244-2157-2
Title of Event
12th European Conference on Software Maintenance and Reengineering
Access(Rights)
restricted
Show full item
BORIS Portal
Bern Open Repository and Information System
Build: dd892c [ 9.04. 8:30]
Explore
  • Projects
  • Funding
  • Publications
  • Research Data
  • Organizations
  • Researchers
  • Audiovisual Material
  • Software & other digital items
  • Events
More
  • About BORIS Portal
  • Send Feedback
  • Cookie settings
  • Service Policy
Follow us on
  • Mastodon
  • YouTube
  • LinkedIn
UniBe logo