Mock object creation for test factoring

  title={Mock object creation for test factoring},
  author={David Saff and Michael D. Ernst},
Test factoring creates fast, focused unit tests from slow system-wide tests; each new unit test exercises only a subset of the functionality exercised by the system tests. Augmenting a test suite with factored unit tests, and prioritizing the tests, should catch errors earlier in a test run.One way to factor a test is to introduce mock objects. If a test exercises a component A, which is designed to issue queries against or mutate another component B, the implementation of B can be replaced by… CONTINUE READING
Highly Cited
This paper has 33 citations. REVIEW CITATIONS

From This Paper

Topics from this paper.
24 Citations
0 References
Similar Papers


Publications citing this paper.

Similar Papers

Loading similar papers…