January 15th, 2010 by Christian Hedin — Testing
Test Driven Development, or TDD for short, is a simple software development practice where unit tests, small focused test cases, drive the development forward. This is most easily explained by the Three Rules of TDD that dictate the following:
You are not allowed to write any production code [...]
Tags: frameworks, iphone, mac, objective-c, programming, tdd, tools, tutorial
May 17th, 2009 by Johan Haleby — Java, Testing
As you may already know PowerMock can be used to easily mock static methods which is normally not possible with standard mock frameworks such as EasyMock, JMock or Mockito. All you have to do is to use mockStatic in one of the PowerMock extension API’s as well as telling PowerMock to enable the class for [...]
Tags: frameworks, open source, powermock, tdd, tools
October 20th, 2008 by Mattias Hellborg Arthursson — Cloud, Java, Testing
In a recent post I wrote about the particular problems we’ve been having with integration testing the Spring LDAP project and the use we’ve made of Amazon EC2 for solving these problems. In this post I’ll present the implementation details.
Prerequisites
In order to keep this reasonably brief I’ll have to refer to the getting started guide [...]
Tags: automated testing, ec2, junit, spring, spring ldap, tdd, typica
September 11th, 2008 by Mattias Hellborg Arthursson — Cloud, Java, Testing
One of the major challenges we’ve been facing in the Spring LDAP project is to make certain that the library works together with different LDAP servers. Different servers behave differently in certain situations; some functionality might only be supported on select servers, etc. In the ideal situation we would run our automated test suite against [...]
Tags: automated testing, continuous integration, ec2, junit, spring, spring ldap, tdd, typica
February 1st, 2008 by Andreas Ronge — Java, Testing
Test Driven Development is a well established programming technique for creating high quality software. It is less known, however, that TDD is not only a programming technique but also a design methodology.
The main goal of Behaviour Driven Development, a TDD based methodology, is to identify behaviours in both the analysis and the design phases.
In BDD [...]
Tags: bdd, jayview, programming, tdd, unit test