Practical Unit Testing

Visit the book site at practicalunittesting.com. Below you will find some blog posts which relate to the topics discussed (in much more details!) within the book. The book will be available in Q1/2012. Polish version will follow (~2 months later).

Why TestNG and not JUnit?

Recently I've joined a new team and I wanted to persuade my colleagues to migrate from JUnit to TestNG. I decided to prepare a short presentation to convince them. I publish it here hoping that you will find it useful.

 

A New Book On Unit Tests - Q1 2012

I'm happy to announce that my book on unit tests - Practical Unit Testing with TestNG and Mockito - will be available in Q1 2012! Stay tuned!

 

Results Of TestNG Users Survey Q4 2011

Results of online survey on TestNG (Q4 2011). Let us learn why and how we use it!

 

TestNG Users Survey Q4 2011

Please fill in a short online survey on TestNG. Let us learn why and how we use it!

 

Visualization Of Dependent Test Methods

One day I started to experiment with visualization of test dependencies. I thought that maybe Graphviz can help to provide some nice diagrams that would help me see instantly what went wrong, and why some tests are skipped. In this post I present my achievements so far.

 

Testing Basics: SUT and DOCs

This blog post is devoted to two unsung heroes of testing: SUT and DOC. Who are they and what is their role in unit, integration and end-to-end tests?

 

Testing Basics: Results of Tests

Tests executed by hand can end up with plethora of results ranging from "*#$& exception!!" to "it works... and this exception has always been there". In case of automated tests things look different. There are only few possible outcomes. Let us take a closer look at them.

 

Developers' Testing Dilemma: Aim for Verification or Design?

Few notes on two approaches to testing. Some people seem to be more interested in verification, others aim for better design.

 

Code Coverage And Alexandre Dumas

Few notes on how setting a high code coverage can do more harm than good.

 

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 ?

 
Syndicate content