Mock object frameworks are very useful for creating unit tests. However, purely compiled languages lack robust frameworks for mock objects. The frameworks that do exist rely on inheritance, compiler directives, or linker manipulation. Such techniques limit the applicability of the existing frameworks, especially when dealing with legacy code. We present a tool, StaticMock, for creating mock objects in compiled languages. This tool uses source-tosource compilation together with Aspect Oriented Programming to deliver a unique solution that does not rely on the previous, commonly used techniques. We evaluate the compile-time and run-time overhead incurred by this tool, and we demonstrate the effectiveness of the tool by showing that it can be ...
Previously, techniques such as class hierarchy analysis and profile-guided receiver class prediction...
htmlabstractIn the context of test-driven development for object-oriented programs, mock objects are...
In object oriented programming (OOP) class objects are individual units of code that encapsulate the...
In Extreme Programming, unit testing is an integral activity of everyday software development. For i...
The goal of this thesis is to provide comprehensive set of information about a technique called the ...
When testing software artifacts that have several dependencies, one has the possibility of either in...
We propose a compilation framework that compiles condi-tional pointcuts (i.e., if pointcuts) in Aspe...
Reflection and extensibility in object-oriented programming languages can be supported by meta-objec...
Compilers for modern object-oriented programming languages generate code in a platform independent i...
Coding against interfaces is a powerful technique in object-oriented programming. It decouples code ...
When writing automated unit tests, developers often deal with software artifacts that have several d...
In this research paper, it evaluates the benefits achievable from static testing framework by analyz...
Aspect-oriented programming techniques extend object-oriented programming with new methods to modula...
Unit testing is a widely used tool in modern software development processes. A well-known issue in ...
AbstractIn the context of test-driven development for object-oriented programs, mock objects are inc...
Previously, techniques such as class hierarchy analysis and profile-guided receiver class prediction...
htmlabstractIn the context of test-driven development for object-oriented programs, mock objects are...
In object oriented programming (OOP) class objects are individual units of code that encapsulate the...
In Extreme Programming, unit testing is an integral activity of everyday software development. For i...
The goal of this thesis is to provide comprehensive set of information about a technique called the ...
When testing software artifacts that have several dependencies, one has the possibility of either in...
We propose a compilation framework that compiles condi-tional pointcuts (i.e., if pointcuts) in Aspe...
Reflection and extensibility in object-oriented programming languages can be supported by meta-objec...
Compilers for modern object-oriented programming languages generate code in a platform independent i...
Coding against interfaces is a powerful technique in object-oriented programming. It decouples code ...
When writing automated unit tests, developers often deal with software artifacts that have several d...
In this research paper, it evaluates the benefits achievable from static testing framework by analyz...
Aspect-oriented programming techniques extend object-oriented programming with new methods to modula...
Unit testing is a widely used tool in modern software development processes. A well-known issue in ...
AbstractIn the context of test-driven development for object-oriented programs, mock objects are inc...
Previously, techniques such as class hierarchy analysis and profile-guided receiver class prediction...
htmlabstractIn the context of test-driven development for object-oriented programs, mock objects are...
In object oriented programming (OOP) class objects are individual units of code that encapsulate the...