shareandenjoy.saff.net
Share and Enjoy: Interface imposterization
http://shareandenjoy.saff.net/2006/12/interface-imposterization.html
David Saff's blog of technological joys. Wednesday, December 20, 2006. I learn all sorts of things from jMock. From jMock 1, I was infected with the idea of a fluent interface for creating mocks, and the power of Constraint objects. Lately, I've been playing with jMock 2, and it's had me thinking even more deeply about a pattern I'm for the moment calling interface imposterization. Of an interface satisfies all of the documented and implied contracts for that interface. An impostor. Is an impostor of the...
agiler.wikidot.com
How To Tdd Using jMock - All That Agile
http://agiler.wikidot.com/tddwithjmock
What is a Wiki Site? How to edit pages? How to join this site? Add a new page. How To Tdd Using jMock. TDD를 수행하는 데 있어 Mock Object를 효과적으로 적용하는 것은 중요한 요소 중 하나이다. 케이스 스터디를 통해 jMock 프레임워크를 사용하여 TDD를 접목하는 방법을 알아보자. 케이스 스터디는 TDD 수행 방법에 따라 다음 순서로 진행된다. 새로운 요구사항(Requirement)을 검증(validate)하기 위한 테스트 작성. 테스트를 수행하는 기능 코드 작성. 케이스 스터디를 수행하려면 먼저 jMock 프레임워크와 JUnit 프레임워크를 설치해야 한다. JMock 프레임워크는 http:/ www.jmock.org. 에서 구할 수 있다. 이번 케이스 스터디에서는 1.2.0 버전을 사용한다.(현재 최신 버전은 2.5.1). JUnit 프레임워크는 http:/ www.junit.org. TimedCache&...
blog.trafficparrot.com
Traffic Parrot Blog: What is the difference between a stub, mock and service virtualization and when do I use what?
http://blog.trafficparrot.com/2015/05/what-is-difference-between-stub-mock.html
Saturday, 23 May 2015. What is the difference between a stub, mock and service virtualization and when do I use what? Is this article for you? If you have heard about mocking, stubbing and service virtualization before, but would like to deepen your knowledge this article is for you. If you have not heard about service virtualization yet, have a look at the quick introduction to service virtualization. Developers and QAs please continue reading. Taking a step back, what is a test double? The most common ...
jfase.blogspot.com
Java, Frameworks and Software Engineering: Agile Development
http://jfase.blogspot.com/2007/12/agile-development.html
Java, Frameworks and Software Engineering. Sunday, December 16, 2007. I've been using Agile techniques for years and trying to get others to use them as well. I've read books on Agile techniques, read blogs. And written code. For people interested in exploring these techiques, I would suggest the following techniques to try out:. TDD - Test Driven Development. Write unit tests before or as soon as you write a new class or add methods. Design for easy testing, limit and break dependencies.
jfase.blogspot.com
Java, Frameworks and Software Engineering: December 2007
http://jfase.blogspot.com/2007_12_01_archive.html
Java, Frameworks and Software Engineering. Sunday, December 16, 2007. I've been using Agile techniques for years and trying to get others to use them as well. I've read books on Agile techniques, read blogs. And written code. For people interested in exploring these techiques, I would suggest the following techniques to try out:. TDD - Test Driven Development. Write unit tests before or as soon as you write a new class or add methods. Design for easy testing, limit and break dependencies. In my role as a...
wilsondev.blogspot.com
wilson.dev();: Modelando código testável
http://wilsondev.blogspot.com/2008/10/modelando-cdigo-testvel.html
Tópicos em desenvolvimento de software. Saturday, October 18, 2008. Em muitos casos, o código de um determinado teste unitário é mais extenso e/ou complexo que o código que está sendo testado. Infelizmente só nos damos conta disso quando começamos a bater cabeça. Como os projetos do mundo real nunca são tão simplórios quanto os exemplos Hello World like. Se o código não atende a este requisito, refatore-o ou esqueça os testes unitários. Classes faz-tudo com milhares de linhas contendo métodos faz-tudo co...
carlaugustsimon.blogspot.com
Carl's Consulting Adventures: July 2004
http://carlaugustsimon.blogspot.com/2004_07_01_archive.html
An account of Carl's experiences as he ventures out into the world of management consulting. Monday, July 26, 2004. Week 5 - Goin' Deep. I'm learning all about Agile Projeect Management. There is a good body of work out there on agile PM. Crossing the Chasm by Geoffrey Moore. Kepner and Tregoe’s analysis methodology - see. Http:/ www.kepner-tregoe.com. Radical Project Management by Rob Thomsett. Jim Highsmith is one of the authorities on the topic. Also learning about test-driven development. Http:/ www&...
jeantessier.com
Mocking in Java: jMock vs. EasyMock
http://www.jeantessier.com/SoftwareEngineering/Mocking.html
Mocking in Java: jMock vs. EasyMock. This document shows how to do common mocking tasks in Java using both jMock. Throughout, I use the terminology defined by Gerard Meszaros in his book xUnit Test Patterns. All example were tested with JUnit 3.8.2, jMock 2.2.4, EasyMock 2.3, and EasyMock classextension 2.2.2 using JDK 1.5.0 13. Using One or More Mocks Together. Pulling the Context or Control into a Superclass. Expecting A Method To Return A Value. Expecting A Method With. Expecting A Method With. Embede...
martinfowler.com
FluentInterface
http://martinfowler.com/bliki/FluentInterface.html
Middot; domain specific language. A few months ago I attended a workshop with Eric Evans. And he talked about a certain style of interface which we decided to name a fluent interface. It's not a common style, but one we think should be better known. Probably the best way to describe it is by example. The simplest example is probably from Eric's timeAndMoney. Library. To make a time interval in the usual way we might see something like this:. The timeAndMoney library user would do it this way:. In essence...