Main Menu
Home Articles Directory Submit Popular Site Top Rated Site - Programming - Database - Management - Software Testing and Quality Assurance - Approaches, Process, Methods New Links RSS/Atom
Sponsors



  Main  |  Submit New Article  

  Popular articles (top10)  |  Top rated articles (top10)  |  Category List  

Main  arrow  Software Testing and Quality Assurance  arrow  Software Testing  arrow  Unit Testing
Main  arrow  Approaches, Process, Methods  arrow  Agile  arrow  Extreme Programming (XP)

Visit   Mock Objects: Shortcomings and Use Cases    Last Update 2007/8/30 6:26
Category  Software Testing and Quality Assurance  arrow  Software Testing  arrow  Unit Testing  :  Approaches, Process, Methods  arrow  Agile  arrow  Extreme Programming (XP)
Description
Writing unit tests is not easy. Most of the time, we need to test code that uses complex collaborators such as databases, application servers, or software modules that have not been written yet. We also may need to deal with conditions that are difficult to generate in a test environment. Setting up these dependencies may require a considerable amount of time and energy, counteracting the benefits of having automated tests. This article looks at Mock Objects, a testing technique from the XP community that offers a way to test our code in isolation by simulating those external dependencies. As with any other tool, we need to be careful and avoid overusing them.

Hits: 123  
Modify  |  Report Broken Link  |  Tell a Friend  |  Comments (0)

The comments are owned by the poster. We aren't responsible for their content.
Practical
Methods & Tools
RSS 2.0
Twitter
Contact
THEME_VALIDXHTML    THEME_VALIDCSS

Copyright (c) 2007-2013 Martinig & Associates | Methods & Tools Software Development Magazine | Privacy Policy
Software Development Tools | Software Development Articles | Software Development Directory | Software Development Videos
Software Development Jobs | Software Development News | Software Development Books
Software Development Blogs | Software Development Conferences