Java
"Untestable" code - JMockit
Submitted by Tomek Kaczanowski on Sun, 04/20/2008 - 20:13This 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
Submitted by Tomek Kaczanowski on Sat, 01/26/2008 - 23:29This 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
Submitted by Tomek Kaczanowski on Sun, 01/13/2008 - 11:31This 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
Submitted by Tomek Kaczanowski on Tue, 01/01/2008 - 18:34This 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.
getters and setters is all I need
Submitted by Tomek Kaczanowski on Sun, 10/07/2007 - 15:21Yes, 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.
how to log user info ?
Submitted by Tomek Kaczanowski on Sat, 01/20/2007 - 12:23My web-application is based on Spring MVC, Hibernate, Acegi Security etc.
Problem: My logs give me a lot information, but I can't figure out which messages where made by the same user. I want to be able to track actions done by one user.
- « first
- ‹ previous
- 1
- 2
- 3
This used to be my blog. I moved to http://tomek.kaczanowscy.pl long time ago.