Schlagwort-Archive: Categories

Enhance JUnit 4 – grouping tests – followup

Recently I found a nice article about a new feature in JUnit called Categories. It is available in JUnit since version 4.8.
I haven’t noticed this feature before because I’m (too?) focused on using TestNG.

I will not go into more detail about this feature. It is described nicely here on JavaLobby by John Dobie. This article also describes the integration into Maven.

Because most of our projects are Ant base I was searching the net for a solution. Finally I found this page on Stackoverflow. I haven’t tried this solution yet.

P.S. When I had a closer look at one off my favored internal project I found the solution from JavaLobby already in production use. (And nobody told me about it.)