Mocking in the context of automated software tests allows testing program units in isolation. Designing realistic interactions between a unit and its environment, and understanding the expected impact of these interactions on the behavior of the unit, are two key challenges that software testers face when developing tests with mocks. In this paper, we propose to monitor an application in production to generate tests that mimic realistic execution scenarios through mocks. Our approach operates in three phases. First, we instrument a set of target methods for which we want to generate tests, as well as the methods that they invoke, which we refer to mockable method calls. Second, in production, we collect data about the context in which targe...
The goal of this thesis is to provide comprehensive set of information about a technique called the ...
"Mocking" is a technique used in unit-testing that replace external dependencies with "fake" objects...
Test factoring creates fast, focused unit tests from slow system-widetests; each new unit test exerc...
When testing software artifacts that have several dependencies, one has the possibility of either in...
When writing automated unit tests, developers often deal with software artifacts that have several d...
When writing automated unit tests, developers often deal with software artifacts that have several d...
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...
AbstractIn the context of test-driven development for object-oriented programs, mock objects are inc...
Unit testing is a widely used tool in modern software development processes. A well-known issue in ...
htmlabstractIn the context of test-driven development for object-oriented programs, mock objects are...
O objetivo de um teste de unidade é verificar o funcionamento de um software e procurar defeitos na...
Not all object oriented code is easily testable: Dependency objects might be difficult or even impos...
International audienceMocking objects is a common technique that substitutes parts of a program to s...
UIDB/04516/2020 PTDC/CCI-INF/32081/2017Unit testing is a core component of continuous integration an...
The goal of this thesis is to provide comprehensive set of information about a technique called the ...
"Mocking" is a technique used in unit-testing that replace external dependencies with "fake" objects...
Test factoring creates fast, focused unit tests from slow system-widetests; each new unit test exerc...
When testing software artifacts that have several dependencies, one has the possibility of either in...
When writing automated unit tests, developers often deal with software artifacts that have several d...
When writing automated unit tests, developers often deal with software artifacts that have several d...
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...
AbstractIn the context of test-driven development for object-oriented programs, mock objects are inc...
Unit testing is a widely used tool in modern software development processes. A well-known issue in ...
htmlabstractIn the context of test-driven development for object-oriented programs, mock objects are...
O objetivo de um teste de unidade é verificar o funcionamento de um software e procurar defeitos na...
Not all object oriented code is easily testable: Dependency objects might be difficult or even impos...
International audienceMocking objects is a common technique that substitutes parts of a program to s...
UIDB/04516/2020 PTDC/CCI-INF/32081/2017Unit testing is a core component of continuous integration an...
The goal of this thesis is to provide comprehensive set of information about a technique called the ...
"Mocking" is a technique used in unit-testing that replace external dependencies with "fake" objects...
Test factoring creates fast, focused unit tests from slow system-widetests; each new unit test exerc...