Vote
0
With TestNG, Why Do We Need JUnit 4.0?
Angsuman Chakraborty
February 17th, 2006
JUnit 4.0 finally adopted annotation based test identification, which TestNG has been doing for long, really long time.
TestNG support lower versions of JDK, whereas JUnit supports only JDK 1.5.
Can anyone tell me why would anyone in his right mind want to use JUnit 4.0 over TestNG?
Filed under Java Software, Technology |
|
RSS 2.0 |
Trackback this Article
|
Email this Article
You may also like to read |




































February 22nd, 2006 at 12:34 pm
Forward and backwards compatibility with JUnit 3.x, for one thing.
February 22nd, 2006 at 12:52 pm
TestNG is compatible with JUnit 3.x tests. It can understand and run them fine.
March 20th, 2006 at 6:59 am
Après une étude sympa des deux technos,
il s’avère que TestNG garde toujours un avantage sur JUnit4.0 qui au final innove peu.
TestNG offre les techniques de passage de paramètres et de @Factory et les groupes de test qui restent non présentes chez JUnit.
J’avais peur de JUnit4 mais au final TestNG a de beaux jours devant lui, si il continue d’innover.
Voila ma pensée