Blog

Travis: Continuous Integration for GitHub Projects

On September 1, 2014, Posted by , In Common, By ,, , With No Comments

In a recent project I got the opportunity to work with Travis, a lean, hosted continuous integration service used to build GitHub projects that is free to use for public repositiories. This post gives a brief introduction on how to build projects with Travis. Simple Setup Setting up Travis to…

JUnit in a Nutshell: Test Isolation

On August 27, 2014, Posted by , In JUnit, By ,,, , With No Comments

Working as a consultant I still meet quite often programmers, who have at most a vague understanding of JUnit and its proper usage. This gave me the idea to write a multi-part tutorial to explain the essentials from my point of view. Despite the existence of some good books and…

JUnit in a Nutshell: Test Structure

On August 18, 2014, Posted by , In JUnit, By ,,, , With No Comments

Despite the existence of books and articles about JUnit testing, I still meet quite often programmers, who at most have a vague understanding of the tool and its proper usage. Hence I had the idea to write a multi-part tutorial, that explains the essentials from my point of view. Maybe…

JUnit in a Nutshell: Hello World

On August 12, 2014, Posted by , In JUnit, By ,,, , With 4 Comments

JUnit seems to be the most popular testing tool for developers within the Java world. So it is no wonder that there have been written some good books about this topic. But by earning a living as consultant I still meet quite often programmers, who at most have a vague…

Clean JUnit Throwable-Tests with Java 8 Lambdas

On July 28, 2014, Posted by , In JUnit, By ,,,, , With 2 Comments

Recently I was involved in a short online discussion on twitter and google+ which concerned the question why the arrival of Java 8 Lambda expressions makes the catch-exception library1 obsolete. This was triggered by a brief announcement that the library won’t be longer maintained as lambdas will make it redundant….

A JUnit Rule to Run a Test in Its Own Thread

On July 21, 2014, Posted by , In JUnit, By ,,, , With No Comments

Occasionally it would be helpful to be able to run a JUnit test in a separate thread. In particular when writing integration tests that interact with encapsulated ThreadLocals or the like this could come in handy. A separate thread would implicitly ensure that the thread related reference of the threadlocal…

Unleashing gonsole 1.0, a Git Console for Eclipse

On July 14, 2014, Posted by , In Eclipse,Gonsole, By ,,, , With No Comments

Over the last few weeks, Frank and I had some spare time. As summer hadn’t yet arrived in Germany, we decided to spend that time coding… What came out is Gonsole, a plug-in for the Eclipse IDE which provides a Git Console. The features that we originally intended to implement…

gonsole weeks: a git console for eclipse

On July 9, 2014, Posted by , In Eclipse,Gonsole, By ,,, , With 3 Comments

Even though Eclipse ships with a comprehensive Git tool, it seems that for certain tasks many developers switch to the command line. Because of that, Frank and I started to fill this gap a few weeks ago. If you are interested in what happened during this time you may want…

gonsole weeks: multiple console sessions

On July 2, 2014, Posted by , In Eclipse,Gonsole, By ,,, , With 4 Comments

While Eclipse ships with a comprehensive Git tool, it seems that for certain tasks many developers switch to the command line. This gave Frank and me the idea, to start an open source project to provide a git console integration for the IDE. What happened so far during the gonsole…

gonsole weeks: oops – it’s a framework

On June 26, 2014, Posted by , In Eclipse,Gonsole, By ,,, , With No Comments

While Eclipse ships with a comprehensive Git tool, it seems that for certain tasks many developers switch to the command line. This gave Rüdiger and me the idea, to start an open source project to provide a git console integration for the IDE. What happened so far during the gonsole…