TestNG
Testing Basics: Results of Tests
Submitted by Tomek Kaczanowski on Tue, 12/21/2010 - 12:56Tests 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.
TimeOut for Configuration Annotations of TestNG
Submitted by Tomek Kaczanowski on Sun, 10/03/2010 - 20:07Oldest developers can't recall the times when TestNG introduced timeout constraints for tests methods (invocationTimeOut parameter of @Test annotation). The current beta of TestNG allows to set timeouts also for configuration methods.
Eclipse Code Templates for TestNG DataProviders
Submitted by Tomek Kaczanowski on Tue, 02/02/2010 - 20:38If you use Eclipse & TestNG you might be interested in these two simple code templates that will help you to create DataProviders.
Growing Object-Oriented Software Guided by Tests - Book Review
Submitted by Tomek Kaczanowski on Wed, 01/27/2010 - 20:04This 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. :)
Better looking test reports with ReportNG
Submitted by Tomek Kaczanowski on Thu, 12/03/2009 - 07:16TestNG 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
Submitted by Tomek Kaczanowski on Thu, 11/26/2009 - 22:01In your opinion, the original reports of TestNG are (pick one or more options):
- showing too much information,
- showing not enough information,
- not showing what you want to show,
- require too many clicks to find out what has gone wrong,
- 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!
Submitted by Tomek Kaczanowski on Mon, 07/20/2009 - 15:41Is 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.
Gradle 0.6 supports TestNG
Submitted by Tomek Kaczanowski on Wed, 05/20/2009 - 21:08Gradle 0.6 was released today ! Among other stuff Gradle now supports execution of TestNG tests.
TestNG - parallel test execution - example - unique ID generator
Submitted by Tomek Kaczanowski on Tue, 05/12/2009 - 21:16Today 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.
- « first
- ‹ previous
- 1
- 2
- 3
This used to be my blog. I moved to http://tomek.kaczanowscy.pl long time ago.