Inicio Nosotros Búsquedas
Buscar en nuestra Base de Datos:     
Autor: Dave, Thomas (Comienzo)
Sólo un registro cumplió la condición especificada en la base de información Bciucla.
Publicación seriada
Referencias AnalíticasReferencias Analíticas
Autor: Dave, Thomas ; Hunt, Andy
Título: Mock Objects
Páginas/Colación: pp. 22-24
IEEE Software Vol. 19, no. 3 May/June 2002
Información de existenciaInformación de existencia

Resumen
One thing that makes unit-testing code so hard is the way the real world keeps intruding

One thing that makes unit-testing code so hard is the way the real world keeps intruding. If all we had to do was code up tests for methods that sort arrays or generate Fibonacci series, life would be easy. But in the real world we have to test code that uses data-bases, communications devices, user inter-faces, and external applications. Have to interface to devices that aren’t yetavailable or simulate network errors that are impossible to generate locally. This all conspires to stop our unit tests from being neat, self-contained (and orthogonal) chunks of code. Instead, if we’re not careful, we find ourselves writing tests that end up initializing nearly every system component just to give the tests enough context to run. Not only is this time consuming, it also introduces a ridiculous amount of coupling into the testing process: someone changes an interface or a database table, and suddenly the setup code for your poor little unit test dies mysteriously. Even the best-intentioned developers become discouraged after this happens a few times. Eventually, testing starts to drop off, and we all know where that leads.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

UCLA - Biblioteca de Ciencias y Tecnologia Felix Morales Bueno

Generados por el servidor 'bibcyt.ucla.edu.ve' (18.217.242.178)
Adaptive Server Anywhere (07.00.0000)
ODBC
Sesión="" Sesión anterior=""
ejecutando Back-end Alejandría BE 7.0.7b0 ** * *
18.217.242.178 (NTM) bajo el ambiente Apache/2.2.4 (Win32) PHP/5.2.2.
usando una conexión ODBC (RowCount) al manejador de bases de datos..
Versión de la base de información Bciucla: 7.0.0 (con listas invertidas [2.0])

Cliente: 18.217.242.178
Salida con Javascript


** Back-end Alejandría BE 7.0.7b0 *