Cargando…

Running tests in isolation using mock objects

<!--HTML-->"Mocking" is a technique used in unit-testing that replace external dependencies with "fake" objects, simulating the behavior of the real ones. This process is usually applied when the existence of these dependencies makes impossible to write proper tests or when...

Descripción completa

Detalles Bibliográficos
Autor principal: RODRIGUEZ PEON, Alberto
Lenguaje:eng
Publicado: 2014
Materias:
Acceso en línea:http://cds.cern.ch/record/1957615
_version_ 1780944526145224704
author RODRIGUEZ PEON, Alberto
author_facet RODRIGUEZ PEON, Alberto
author_sort RODRIGUEZ PEON, Alberto
collection CERN
description <!--HTML-->"Mocking" is a technique used in unit-testing that replace external dependencies with "fake" objects, simulating the behavior of the real ones. This process is usually applied when the existence of these dependencies makes impossible to write proper tests or when its result can be non-deterministic, hard to reproduce and/or slow to calculate. In this talk, I will briefly describe this technique and show how and where to use it through some examples.
id cern-1957615
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2014
record_format invenio
spelling cern-19576152022-11-02T22:13:26Zhttp://cds.cern.ch/record/1957615engRODRIGUEZ PEON, AlbertoRunning tests in isolation using mock objectsIT Lightning Talks: session #3IT Lightning Talks (ITLT)<!--HTML-->"Mocking" is a technique used in unit-testing that replace external dependencies with "fake" objects, simulating the behavior of the real ones. This process is usually applied when the existence of these dependencies makes impossible to write proper tests or when its result can be non-deterministic, hard to reproduce and/or slow to calculate. In this talk, I will briefly describe this technique and show how and where to use it through some examples.oai:cds.cern.ch:19576152014
spellingShingle IT Lightning Talks (ITLT)
RODRIGUEZ PEON, Alberto
Running tests in isolation using mock objects
title Running tests in isolation using mock objects
title_full Running tests in isolation using mock objects
title_fullStr Running tests in isolation using mock objects
title_full_unstemmed Running tests in isolation using mock objects
title_short Running tests in isolation using mock objects
title_sort running tests in isolation using mock objects
topic IT Lightning Talks (ITLT)
url http://cds.cern.ch/record/1957615
work_keys_str_mv AT rodriguezpeonalberto runningtestsinisolationusingmockobjects
AT rodriguezpeonalberto itlightningtalkssession3