| However, the [[JUnit]] guys struck back by creating [[JUnit]]4, which basically copies the way [[TestNG]] uses [[annotation]]s. As such, those who had previous investments in [[JUnit]]3 could just upgrade to [[JUnit]]4, keep [[BackwardCompatibility|compatibility]] and offering [[annotation]]s to those who wished to be [[good#Coolness|free-cool-in]]. Since then, the adoption of [[TestNG]] slowed down, at least from my point of view, as an external observer. | | However, the [[JUnit]] guys struck back by creating [[JUnit]]4, which basically copies the way [[TestNG]] uses [[annotation]]s. As such, those who had previous investments in [[JUnit]]3 could just upgrade to [[JUnit]]4, keep [[BackwardCompatibility|compatibility]] and offering [[annotation]]s to those who wished to be [[good#Coolness|free-cool-in]]. Since then, the adoption of [[TestNG]] slowed down, at least from my point of view, as an external observer. |
- | Still there are reason to use [[TestNG]]. [[JUnit]] project decided to stick with [[CPL|archaic license]], long time superseded by [[EPL]], and at least [[Oracle]] is not comfortable with redistributing software [[CPL|under such license]]. [[TestNG]] comes with widely accepted [[Apache]] license. | + | Still there are reasons to use [[TestNG]]. The [[JUnit]] project decided to stick with [[CPL|archaic license]], long time superseded by [[EPL]], and at least [[Oracle]] is not comfortable with redistributing software [[CPL|under such license]]. [[TestNG]] comes with the widely accepted [[Apache]] license. |
- | Also [[JUnit]] claims to support primarily ''unit'' testing. Sometimes it leads to [[OrderOfElements|ridiculous stories]] when [[JUnit]] project decides to prefer enforcing test isolation even it leads to irreproducible random test failures (probably to be [[OrderOfElements#Happy End|resolved in next version]]). When one needs more than ''just unit testing'', [[TestNG]] can still be viable alternative. | + | Also, [[JUnit]] claims to support primarily ''unit'' testing. Sometimes it leads to [[OrderOfElements|ridiculous stories]] when the [[JUnit]] project decided to prefer enforcing test isolation even when it leads to irreproducible random test failures (probably to be [[OrderOfElements#Happy End|resolved in next version]]). When one needs more than ''just unit testing'', [[TestNG]] can still be a viable alternative. |