Monday, October 13, 2008

Line numbers in Java exception stack traces

Today at work, our development group was debugging an issue with our CI server deployment.  The log file contained a stack trace without any line numbers or other information.  This prompted some Googling on the subject, and elicited this blog entry:

http://sahyog.blogspot.com/2008/02/line-numbers-in-java-exception-stack.html

Good information about the javac task in Ant.  I did not know about the debuglevel option.


Wednesday, October 08, 2008

Custom argument matching with Mockito

I wrote up a wiki entry on my continuing adventures with Mockito.   This time, I'm trying to perform state verification of the inputs to the test double dependency.  And again, Mockito does not disappoint with its awesome Matchers and ArgumentMatcher support.  I'm really enjoying the use of Mockito.  Very much recommended.

 

Saturday, October 04, 2008

Updated my Mockito example

I updated my Mockito example on my wiki.  The example now uses Mockito's annotation support.  Cleans up the setup considerably.

http://sites.google.com/a/pintailconsultingllc.com/java/mockito-examples