loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
21st IEEE International Conference on Automated Software Engineering (ASE'06)
Mock-object generation with behavior
Tokyo, Japan
September 18-September 22
ISBN: 0-7695-2579-2
Nikolai Tillmann, Microsoft Research, One Microsoft Way, Redmond WA, USA
Wolfram Schulte, Microsoft Research, One Microsoft Way, Redmond WA, USA
Unit testing is a popular way to guide software development and testing. Each unit test should target a single feature, but in practice it is difficult to test features in isolation. Mock objects are a well-known technique to substitute parts of a program which are irrelevant for a particular unit test. Today mock objects are usually written manually supported by tools that generate method stubs or distill behavior from existing programs. We have developed a prototype tool based on symbolic execution of .NET code that generates mock objects including their behavior by analyzing all uses of the mock object in a given unit test. It is not required that an actual implementation of the mocked behavior exists. We are working towards an integration of our tool into Visual Studio Team System.
Citation:
Nikolai Tillmann, Wolfram Schulte, "Mock-object generation with behavior," ase, pp.365-368, 21st IEEE International Conference on Automated Software Engineering (ASE'06), 2006
Usage of this product signifies your acceptance of the Terms of Use.