test it. code it. ship it.

How Failing Tests Can Be Green

Posted on | Comments

Imagine this conversation:

Friend: “We have an integration system where we deploy every two weeks all commits and run hundreds of end to end tests on it.”

Me: “And if everything passed it goes into production?”

Friend: “Yes.”

Me: “How often do they fail?”

Friend: “Uhmm, well like every night. But we just take the failing tests and run them again and after that or the next run they will be green.”

Me: “And then it goes into production?”

Friend: “Yes.”

Me: “Uh?”

Doing a Sprint Review With a Review Fair

Posted on | Comments

I’m working in an organization where we do synchronized sprints between all teams. This means every two weeks all meeting rooms are booked for retrospectives and sprint plannings. If you have around 10-20 teams distributing knowledge what’s happening in the other teams is tricky. No one has the time to go to all reviews.

Enter ‘Review Fair’.

Using KVM and Virt-Manager via XQuartz on MacOSX (and Solving the Keymapping Trouble)

Posted on | Comments

In the last couple of months I got to play around with virtualization at work. Doing automated delivery pipleines and provisiong via puppet I decided it’s time to get my hands even more dirty at home.

I got myself a HP Microserver N54L equipped with 16 GB of RAM and 9 TB disks. I wanted ZFS and KVM. Since the machine has an AMD processor the only way was to install Linux on it. SmartOS would have been a nice choice but it only supports KVM for Intel processors.

There are some hickups to get virt-manager running via X11 on Macos.

You need to fix two things.

Do Not Use Javadoc

Posted on | Comments

Javadoc is here to help. To understand what the code does and how it works? Right?

I don’t think so. I confuses the heck out of me in most cases.

Javascript Testing for Java Projects

Posted on | Comments

I’m a Java Programmer. I do mostly web projects. There is a tendency to move away from server side frameworks towards Javascript (+mvc) and rest services. This now involves me in programming Javascript at the GUI level. Welcome maven, IDE and continous integration.

Hello Octopress

Posted on | Comments

Octopress. Now.

I got tired of Wordpress and choose to get something different. Octopress. First, I like markdown and I want to become a little more fluent. Second, publishing is only a commit away. Plain html files, no php. Hosting everywhere. I can start to learn ruby. Can I ask for more?

Expect some hickups in the next days. I still need to see how the whole disqus things works out.

Cucumber-jvm for Java

Posted on | Comments

In an earlier article I compared cucumber (with Cuke4Duke) and Concordion. It was very cumbersome due to the ruby/jruby jvm chain. Behold - the new cucumber-jvm was released. So how did it improve ?

Cucumber-jvm has support for many languages, e.g. Scala, Groovy, Closure and of course Java. I will focus on Java and Maven.