Schlagwort-Archive: JUnit vs Test NG

Enhance JUnit 4

I’m a fan of TestNG. Unfortunately, it is company guideline to use JUnit.

Out of the box, TestNG has a lot of advantages. I got used to these advantages and I don’t
want to miss out on any of these features. So what are the advantages of TestNG in
particular?

For most of the missing features in JUnit a library exists that adds the missing functionality. Each of these libraries will be discussed briefly in this blog.

In the next post I will start to explain how JUnit can be enhanced to have different data providers in a single test class.