Tomek Kaczanowski's blog

Annoyed by checkstyle errors?

Sometimes, when I try to build some (open-source) project from sources, I got checkstyle errors like this (example comes from Fuse ESB):

Maven bash completion

Today I finally set up the bash completion for Maven. Yes, I know, it's nothing new. But in case you don't know how to do it, you might be interested in reading this post. If you do already know, go waste your time somewhere else. ;)

Blog upgraded to Drupal 6.6

Today I have upgraded this blog to Drupal 6.6.

"Untestable" code - JtestR

This is a part of "Untestable code" series. See the introduction to know what is it all about (yes, you really should go there, do it).

The main idea of the series is to write unit-tests for a particularly nasty piece of code. In this part I will use JtestR library to write test cases... well, not exactly. The point is that you can't do it with JtestR. :(

"Untestable" code - JMockit

This is a part of "Untestable code" series. See the introduction to know what is it all about (yes, you really should go there, do it).

The main idea of the series is to write unit-tests for a particularly nasty piece of code. In this part I will use JMockit library to write test cases.

"Untestable" code - JEasyTest

This is a part of "Untestable code" series. See the introduction to know what is it all about (yes, you really should go there, do it).

The main idea of the series is to write unit-tests for a particularly nasty piece of code. In this part I will use JEasyTest library to write test cases.

"Untestable" code - design vs. testability trade-off

This is a part of "Untestable code" series. See the introduction to know what is it all about (yes, you really should go there, do it).

The main idea of the series is to write unit-tests for a particularly nasty piece of code. This part will show how we can make testing possible thanks to some design sacrifices.

Untestable Code - introduction

This is the first part of series of posts dedicated to the problems of unit-testing of some "untestable" code.

Sometimes, (more often than I'm ready to admit), I stumble over a piece of code which makes me doubt completely in my testing skills and sometimes even in unit testing in general. I've spend a lot of time trying to deal with such a "untestable" code. In this series of posts I'm gonna show you what I've learned.

maven-antrun-plugin problems (with solutions)

During my JEasyTest digging, I stumbled upon few maven-antrun-plugin problems. Here they come (with solutions).

getters and setters is all I need

Yes, I have a grudge against hibernate. Yes, hibernate. Oh, it's a great ORM, I use it a lot, it's really ok. But... but if an inexperienced programmer learns from hibernate-style classes then the get/set trouble comes.

 
 
 
This used to be my blog. I moved to http://tomek.kaczanowscy.pl long time ago.

 
 
 

Please comment using
 
Syndicate content