Bugs are inevitable. Even after you thought you have finished coding your work, another bug creeps in, making you want to wish the bugs were real tangible objects that you could squish with your bare hands. Being a developer, you should be armed with the right weapons to battle bugs for they come almost all the time. In fact, they are building yet another Death Star. If you don't get vigilant,...
on Oct 24, 2012
Acceptance Test Driven Development (ATDD) is a method wherein business stakeholders, analysts, testers and developers collectively specify and agree on what needs to be completed in the project. Requirement specifications are set and verified even before actual development starts. This ensures that only those value-adding features are delivered to the business.
Instead of validating after the...
on Oct 21, 2012
Earlier this October, I was given the privilege of speaking at JavaOne regarding the fusion of contemporary Continuous Delivery processes and practices with the established and widely-accepted Maven release process. I spoke in detail about the similarities as well as the main differences, and how these techniques and methodologies can be combined to deliver iterations and releases that highlight...
on Oct 18, 2012
During the recent JavaOne conference, I was able to share how developers can put their Java codes up a notch by using functional programming and clean coding practices. Functional Programming puts the spotlight on what we want to get out of our codes rather than how we are going to execute them. With this in mind, codes are relatively easier to understand and are less error prone, due to the fact...
on Oct 20, 2012
Behavior-Driven Development (BDD) is all the buzz now. To contribute to the increasing buzz BDD has been creating, I'm heading off to the Canberra JUG meeting next week to give a talk about it.
BDD is a communication and collaboration process that aims to deliver what is only value-adding to the business. It is a process of establishing a common language between the business stakeholders and the...
on Oct 17, 2012
Next week holds a lot of exciting events for me at Canberra. Aside from delivering a talk on Behavior-Driven Development for the Canberra Java Users Group, I will also be conducting the Agile Java Development Practices workshop.
If you want to learn how to write effective tests and better your code, produce high quality applications, know the latest on agile development tools and practices, and...
on Oct 17, 2012
Wakaleo Consulting is pleased to announce that we are bringing our popular TDD/BDD courses to Europe, in a convenient online format!
Fundamentals of Test-Driven Development in Java: This course covers both fundamental TDD/BDD practices, tips and tricks, and also how to apply them effectively with the latest Java tools, including JUnit 4.8, Hamcrest, Infinitest, Mockito and Spock.
on Apr 20, 2011
This article is an extract from the upcoming book Jenkins: The Definitive Guide, to be published in the coming months with O'Reilly..
One of the more interesting plugins to emerge over the last few months is the Build Pipeline plugin, written by the folks at Centrum Systems. The Build Pipelines plugin takes the idea of build promotion further, and helps you design and monitor deployment...
on Mar 10, 2011
As the year draws to a close, I wanted to give everyone a heads-up about some of the Wakaleo training sessions already lined up for 2010.
The next big training dates are in Europe - in collaboration with Skills Matter, I will be running the Java Power Tools Bootcamp in London (February 15-19) and Paris (February 22-27), and then in Wellington in March (March 22-26). I'm also lining up sessions...
on Dec 21, 2009
One of the awesome things about Hudson is the sheer number of plugins available. In fact, if you use Hudson, make a habit of checking out the list of available plugins every month or so - there's bound to be something new that you could use! In this article, I explore two relatively new ones: the Setenv plugin and the Description Setter plugin.
The Setenv plugin
Many build scripts use environment...
on Oct 6, 2009
Java Power Tools Bootcamp sessions are coming up fast in Sydney and Wellington - come see what the buzz is about! For those in Europe, sessions are scheduled for Paris and London and in February next year.
The Java Power Tools bootcamps provide a great way to give your Java development a boost and introduce some kick-ass tools, techniques and tricks into your daily development routine.
on Sep 14, 2009
The next Java Power Tools Bootcamp is planned for Auckland, between the 11th and the 14th of August. This is the first Auckland session, and I'm certainly looking forward to it. Places are limited, so don't miss out!
And for those who missed out on the first Java Power Tools Bootcamp in Wellington, another bootcamp has been scheduled in Wellington for the 25th-28th of August.
on Jul 5, 2008
The Java Power Tools Bootcamp is coming up fast - May 12th for San Francisco, June 17th for London, August 11 for Auckland, and September-October for Melbourne, Sydney and Brisbane. The response so far has been enthusiastic, but it's still not too late to register.
This training course is based on the Java Power Tools book, which should hit the shelves in the next few days. It's packed full of...
on Apr 14, 2008
Henrik Kniberg, author of the very useful Scrum and XP from the Trenches, has written an interesting article on SCM in an Agile context in Version Control for Multiple Agile Teams. He describes, in practical terms, his implementation of the so-called "stable trunk" pattern for Agile development methodologies.
In this approach, your trunk contains a release-ready version of your code, and...
on Apr 9, 2008
Andy Glover, on the TestEarly blog, recommends the Java Power Tools Bootcamp, coming up this May in San Francisco, and later on in London, Auckland, Melbourne, Sydney and Brisbane.
on Apr 7, 2008
The much-awaited Java Power Tools will be out soon, really! It's now looking like the book will be on the shelfs in the second half of April. If you're in a hurry, you can pre-order you copy on the O'Reilly web site or at Amazon, where it has been doing pretty well so far.
I've been reviewing the final drafts, and I must say they look good! Some nice work by the O'Reilly production team!
on Apr 5, 2008
People are saying lots of nice things about Java Power Tools already!
"Johnâ€™s upcoming book is a true masterpieceâ€“ I canâ€™t recommend a better book for the Java community, baby!" - Andrew Glover, Stelligent
"I can't wait to get my own copy!" - Alex Ruiz, FEST guru
Andrew has reviewed the draft version of Java Power Tools and was kind enough to write the foreword, and Alex contributed...
on Mar 24, 2008
The Java Power Tools book is coming out real soon. In conjunction with this event, I will be giving some special training sessions called the Java Power Tools Bootcamps from May 2008 onwards. The first courses will be in Wellington, San Francisco and London, with other cities in New Zealand, Australia, the USA and Europe planned for later on in the year.
The Java Power Tools Bootcamp is an...
on Mar 12, 2008
So you've got hundreds of tests, but they take ages to run. You have a Continuous Integration server, but it takes an hour to tell anyone when there's a failure. What can you do?
This is where staged builds can come in handy. I basically distinguish fast unit tests from slower integration tests. TestNG test groups are very cool for this, but you can also use simple naming conventions. For example...
on Mar 4, 2008
Traditionally, in both CVS and Subversion, if you want to merge some changes from a branch back into the trunk, you need to specify the changes you want to apply. As in "I want to merge the changes made between revision 157 to and revision 189 on branch B back into the trunk". In Subversion 1.5 (which isn't out yet), you just say "Merge the changes from branch B back into the trunk". Subversion...
on Feb 13, 2008