TestNG

HavaRunner, TestNG Reports and TDD Katas

Recently I've spent some time browsing the Net and learned about some new stuff ("new" meaning "new to me") that I would like to share with you. Let us have a look at HavaRunner, some nice TestNG reports, and TDD Katas.

 

JUnit And TestNG - Similar Or Different?

The slides from my short talk about JUnit and TestNG on 18 April 2013, BrighTalks.

To view the presentation click here.

 

JUnit ExpectedException Rule vs. Catch-Exception

During one of my conference talks I got an interesting question: "why do you prefer to test exceptions using catch-exception library instead of using ExpectedException Rule of JUnit?". This is a good question, so let me answer.

 

JDays 2012 - Bad Tests Good Tests - Slides

I've promised to publish the slides from my JDays 2012 presentation "Bad Tests, Good Tests", so here they are.

 

TestNG Users Survey 2012 - Results

This post presents results of TestNG 2012 Users Survey.

 

TestNG Users Survey 2012

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

 

Bad Tests Good Tests - True, False and Magic Switches

If we expect our tests to act as a documentation then we need to put some effort into their readability.

 

Bad Tests Good Tests - Modification of Global State

For unit tests a rule of thumb is to keep them independent from each other. It is not so bad if we introduce a dependency on purpose (and explicitly declare it e.g. using TestNG dependsOnMethod feature). A worse scenario is when we are not aware of the dependency ourselves. This can bring serious problems on our heads.

 

New Planned Features of Mockito And TestNG

Recently I was happy to see some new ideas discussed on Mockito and TestNG mailing lists. It is always nice to see plans for improvement, especially in such mature and features-rich projects.

 

GeeCON 2012: Bad Tests, Good Tests

Slides from my GeeCON 2012 talk "Bad Tests, Good Tests" along with the links to the technologies mentioned there.

 

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

 
 
 

Please comment using
 
Syndicate content