Not all object oriented code is easily testable: Dependency objects might be difficult or even impossible to instantiate, and object-oriented encapsulation makes testing potentially simple code difficult if it cannot easily be accessed. When this happens, then developers can resort to mock objects that simulate the complex dependencies, or circumvent objectoriented encapsulation and access private APIs directly through the use of, for example, Java reflection. Can automated unit test generation benefit from these techniques as well? In this paper we investigate this question by extending the EvoSuite unit test generation tool with the ability to directly access private APIs and to create mock objects using the popular Mockito framework. How...
Mocking in the context of automated software tests allows testing program units in isolation. Design...
Testing object-oriented software is critical because object-oriented languages have been commonly us...
Test factoring creates fast, focused unit tests from slow system-wide tests; each new unit test exer...
Not all object oriented code is easily testable: Dependency objects might be difficult or even impos...
When testing software artifacts that have several dependencies, one has the possibility of either in...
htmlabstractIn the context of test-driven development for object-oriented programs, mock objects are...
When writing automated unit tests, developers often deal with software artifacts that have several d...
Automated generation of tests from specifications has been recently introduced in order to address s...
When testing software artifacts that have several dependencies, one has the possibility of either in...
AbstractIn the context of test-driven development for object-oriented programs, mock objects are inc...
In Extreme Programming, unit testing is an integral activity of everyday software development. For i...
When writing automated unit tests, developers often deal with software artifacts that have several d...
The goal of this thesis is to provide comprehensive set of information about a technique called the ...
Coding against interfaces is a powerful technique in object-oriented programming. It decouples code ...
technical reportExisting systems for writing unit tests exploit built-in language constructs, such ...
Mocking in the context of automated software tests allows testing program units in isolation. Design...
Testing object-oriented software is critical because object-oriented languages have been commonly us...
Test factoring creates fast, focused unit tests from slow system-wide tests; each new unit test exer...
Not all object oriented code is easily testable: Dependency objects might be difficult or even impos...
When testing software artifacts that have several dependencies, one has the possibility of either in...
htmlabstractIn the context of test-driven development for object-oriented programs, mock objects are...
When writing automated unit tests, developers often deal with software artifacts that have several d...
Automated generation of tests from specifications has been recently introduced in order to address s...
When testing software artifacts that have several dependencies, one has the possibility of either in...
AbstractIn the context of test-driven development for object-oriented programs, mock objects are inc...
In Extreme Programming, unit testing is an integral activity of everyday software development. For i...
When writing automated unit tests, developers often deal with software artifacts that have several d...
The goal of this thesis is to provide comprehensive set of information about a technique called the ...
Coding against interfaces is a powerful technique in object-oriented programming. It decouples code ...
technical reportExisting systems for writing unit tests exploit built-in language constructs, such ...
Mocking in the context of automated software tests allows testing program units in isolation. Design...
Testing object-oriented software is critical because object-oriented languages have been commonly us...
Test factoring creates fast, focused unit tests from slow system-wide tests; each new unit test exer...