"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
During testing, there are several reasons to exclude some of the components used by the unit under t...
Writing formal specifications often requires users to abstract from the original problem. Especially...
Test factoring creates fast, focused unit tests from slow system-wide tests; each new unit test exer...
When writing automated unit tests, developers often deal with software artifacts that have several d...
Abstract. We present a semantics of mocking, based on a process calculus-like formalism, and an asso...
When writing automated unit tests, developers often deal with software artifacts that have several d...
Mocking in the context of automated software tests allows testing program units in isolation. Design...
When testing software artifacts that have several dependencies, one has the possibility of either in...
UIDB/04516/2020 PTDC/CCI-INF/32081/2017Unit testing is a core component of continuous integration an...
There is a large body of work in the literature about automatic unit tests generation, and many succ...
Not all object oriented code is easily testable: Dependency objects might be difficult or even impos...
This is a mock dataset for a variant calling exercise (https://github.com/manutamminen/teaching_mate...
The goal of this thesis is to provide comprehensive set of information about a technique called the ...
This paper is a pre-print of: Davide Spadini, Maurício Aniche, Magiel Bruntink, Alberto Bacchelli –...
When testing software artifacts that have several dependencies, one has the possibility of either in...
During testing, there are several reasons to exclude some of the components used by the unit under t...
Writing formal specifications often requires users to abstract from the original problem. Especially...
Test factoring creates fast, focused unit tests from slow system-wide tests; each new unit test exer...
When writing automated unit tests, developers often deal with software artifacts that have several d...
Abstract. We present a semantics of mocking, based on a process calculus-like formalism, and an asso...
When writing automated unit tests, developers often deal with software artifacts that have several d...
Mocking in the context of automated software tests allows testing program units in isolation. Design...
When testing software artifacts that have several dependencies, one has the possibility of either in...
UIDB/04516/2020 PTDC/CCI-INF/32081/2017Unit testing is a core component of continuous integration an...
There is a large body of work in the literature about automatic unit tests generation, and many succ...
Not all object oriented code is easily testable: Dependency objects might be difficult or even impos...
This is a mock dataset for a variant calling exercise (https://github.com/manutamminen/teaching_mate...
The goal of this thesis is to provide comprehensive set of information about a technique called the ...
This paper is a pre-print of: Davide Spadini, Maurício Aniche, Magiel Bruntink, Alberto Bacchelli –...
When testing software artifacts that have several dependencies, one has the possibility of either in...
During testing, there are several reasons to exclude some of the components used by the unit under t...
Writing formal specifications often requires users to abstract from the original problem. Especially...
Test factoring creates fast, focused unit tests from slow system-wide tests; each new unit test exer...