testing

Growing Object-Oriented Software Guided by Tests - Book Review

This is a review of "Growing Object-Oriented Software Guided by Tests" book by Steve Freeman and Nat Pryce (Addison Wesley, 2009)

This book is so great that I could write tons about it, but I tried to keep it reasonably short. :)

 

Getters/Setters Revisited - Validation of Order Class

This is a continuation of the post devoted to some code smells that was vigorously commented in favour of ugly, anti-OO code design :). Thanks God, I also got an interesting question regarding this problem.

Seems to me, that this topic should be discussed one more time.

 

Better looking test reports with ReportNG

TestNG reports can be customized, so any style modification is possible. Did you know there is this nice ReportNG project, that makes TestNG produce very good looking reports without much trouble ?

 

Custom tests reports with TestNG Listeners, Apache Velocity and a bit of CSS

In your opinion, the original reports of TestNG are (pick one or more options):

  1. showing too much information,
  2. showing not enough information,
  3. not showing what you want to show,
  4. require too many clicks to find out what has gone wrong,
  5. not very pretty,

Because of this, you finally decide to create your own reports. Good, then read this post, and you will learn about one possible way of achieving this.

 

Is test-first any better than test-last? oh, yes it is!

Is test-first better than test-last ? Is there a significant difference in the quality of code developed using these approaches ? It's hard to say for sure. My gut feeling (and experience) tells me that test-first is superior. Sometimes I find evidences for this claim. Like the one I present in this blog post.

 

"Untestable" code - Groovy

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 Groovy language to write test cases... well, not exactly. The point is that you can't do it with Groovy. :(

 

Gradle 0.6 supports TestNG

Gradle 0.6 was released today ! Among other stuff Gradle now supports execution of TestNG tests.

 

TestNG - parallel test execution - example - unique ID generator

Today I played with unique IDs generator. While doing this, I have found how very useful is one of the features of TestNG framework - its ability to run tests in parallel.

 

GeeCON 2009 conference, Cracow, Poland

The GeeCON 2009 (http://geecon.org/) conference is over :( This is a sad news, because this event was GREAT !

It took place on 7-8th of May in my home town of Cracow, Poland. I enjoyed every bit of it - from interesting sessions to great catering.

GeeCON 2009

This conference was special to me, because I was one of the speakers there with "Automation of functional tests" session. :)

 

An Introduction to Testing Web Applications with twill and Selenium - Book Review

This is a review of "An Introduction to Testing Web Applications with twill and Selenium" book by C. Titus Brown, Gheorghe Gheorghiu and Jason Huggins (O'Reilly Media, June 2007)

 

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

 
 
 

Please comment using
 
Syndicate content