Automatic acceptance testing with Selenium Webdriver, JBehave, Spring, Jenkins and Maven

The story of getting an internationalized, automated acceptance test suite up and running. I had been assigned a task of automating regression tests of the graphical interface of an administration application. The project already had a fair coverage of unit … Läs mer

Posted in Continuous Delivery, Java, Test | Tagged , , , , , | Leave a comment

Bygg din egen Superuser till Android

Nu när Superuser finns som öppen källkod på github blir man naturligtvis lite nyfiken på hur svårt det är att bygga den själv. Det visade sig vara ganska enkelt. Förutsättningarna i mitt fall var att Android SDK var installerat via … Läs mer

Posted in Android, OS X | Leave a comment

Fun with Computer Vision and JavaFX 2.2

Experimenting with computer vision has been a hassle every time I tried playing around with it, mainly because of poor camera apis/interfaces/drivers. Historically, the VFL driver in Linux has been everything but stable when using PCI cards, and plugging in … Läs mer

Posted in Java, JavaFX, Uncategorized | Leave a comment

Jenkins med Lava-lampor

Lava-lampor är ett idealiskt sätt att visa byggstatus för en Continuous Integration server som t.ex. Jenkins. Lava-lampor har den egenskapen att de är tröga att värma upp och att kyla av. Om den röda Lava-lampan står och bubblar i projektrummet … Läs mer

Posted in Java | Leave a comment

Configure java.util.logging programmatically

Sometimes it is useful to configure the java.util.logging programmatically, e.g, in unit test drivers or in a proprietary management interface. However, the default logging settings (see logging.properties in your java installation) will only let INFO level loggings through. The reason is … Läs mer

Posted in Uncategorized | Leave a comment

JPA/Hibernate @OneToMany collections incompletely populated

Yesterday I tracked down a strange bug in our entity classes, which are based on JPA and are used in an environment with Hibernate as persistence provider. I had some very basic classes that looked something like the following: @Entity … Läs mer

Posted in Uncategorized | 2 Comments

Hacking Raspberry Pi!

During the weekend a couple of us were at the foss hacker day. It was an open source event where you really could hack on anything related to open source and embedded systems. Between the hacking there was also a … Läs mer

Posted in Linux | Leave a comment

Lucene, a state-of-the-art search engine

A couple of years ago I worked at a company primarily concerned with information brokering. We developed a system to fetch addresses of companies given a set of selection criterias e.g geographic location, number of employees etc. The system used … Läs mer

Posted in Java | 1 Comment

JavaFX 2.2 and Maven

JavaFX 2 did get my acceptance when it suddenly without warning became bundled with the JDK. When that happened, I started considering JavaFX to be a real alternative and something to take into consideration when building a RIA application. The … Läs mer

Posted in Java, OS X | 6 Comments

Skitsystem i solstolen

I somras fördrev jag tiden i solstolen tillsammans med Jonas Söderströms “Jävla Skitsystem!” (http://javlaskitsystem.se/). Det är nyttigt att som utvecklare se en vy av de datasystem vi bygger från användarsidan, här på ett utmärkt vis sammanställt och analyserat av författaren. … Läs mer

Posted in Uncategorized | 3 Comments