Adaptive Object-Oriented Software: The Demeter Method with Propagation Patterns
Adaptive Object-Oriented Software: The Demeter Method with Propagation Patterns
Test Driven Development: By Example
Test Driven Development: By Example
Computer
A Metrics Suite for Object Oriented Design
IEEE Transactions on Software Engineering
A Simple and Practical Approach to Unit Testing: The JML and JUnit Way
ECOOP '02 Proceedings of the 16th European Conference on Object-Oriented Programming
DJ: Dynamic Adaptive Programming in Java
REFLECTION '01 Proceedings of the Third International Conference on Metalevel Architectures and Separation of Crosscutting Concerns
OOPSLA '04 Companion to the 19th annual ACM SIGPLAN conference on Object-oriented programming systems, languages, and applications
JUnit: Unit Testing and Coding in Tandem
IEEE Software
Hi-index | 0.00 |
Assertions are used for unit testing in Object-Oriented Programming. With assertions, a test programmer compares with an expected value the result of a test execution which is obtained by referring to the object containing its result in the object being tested. Therefore, there is a problem that test classes described as testing code depend strongly on the unnecessary objects which are not of concern to unit testing. In this work we developed an assertion mechanism which traverses objects automatically in order to eliminate the dependency from/to such unnecessary objects. Furthermore, we performed experiments on open source products, and confirmed that using this assertion mechanism decreases the coupling between a test class and other classes.