Back to results

Massachusetts Institute of Technology

Test factoring with amock: generating readable unit tests from system tests

Abstract

dc:description.abstract

Automated unit tests are essential for the construction of reliable software, but writing them can be tedious. If the goal of test generation is to create a lasting unit test suite (and not just to optimize execution of system tests), it is essential that generated tests can be understood by the developers that will be running them, so that they can tell the difference between real and spurious failures. amock is a system which automatically generates human-readable JUnit regression tests that use mock objects to simulate the behavior of individual objects dynamically observed during a system test execution.

Degree

thesis:*
Department dc:contributor.department
Massachusetts Institute of Technology. Dept. of Electrical Engineering and Computer Science.
Grantor dc:publisher
Massachusetts Institute of Technology
Year dc:date.issued
2007

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Glasser, David Samuel
Advisor dc:contributor.advisor
  • Michael D. Ernst.

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • M.I.T. theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission. See provided URL for inquiries about permission.
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
http://hdl.handle.net/1721.1/45982
OAI identifier oai:identifier
oai:dspace.mit.edu:1721.1/45982

Chain of custody

source
Harvested from
MIT
Base URL
dspace.mit.edu/oai/request
Last updated
2026-07-22
Source record
OAI-PMH GetRecord
citation

Glasser, David Samuel. Test factoring with amock: generating readable unit tests from system tests. Massachusetts Institute of Technology, 2007. http://hdl.handle.net/1721.1/45982