tips&tricks

Eclipse Code Templates for TestNG DataProviders

If you use Eclipse & TestNG you might be interested in these two simple code templates that will help you to create DataProviders.

Quick Build with Gradle (BSBM Tools)

Today, I needed to have a JAR of BSBM benchmark tools. Surprisingly, when I downloaded the bundled zip from SourceForge, there was neither JAR nor build file inside (no build.xml, no pom.xml, nothing) - or maybe I'm blind.
Well, Gradle to the rescue. :)

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.

Gradle 0.6 supports TestNG

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

n/a

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):

Syndicate content