You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2009/07/16 23:09:14 UTC

[jira] Commented: (AVRO-26) Converting JUnit tests into TestNG controlled environment

    [ https://issues.apache.org/jira/browse/AVRO-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732163#action_12732163 ] 

Konstantin Boudnik commented on AVRO-26:
----------------------------------------

Just to give a heads-up on the status of the progress of JUnit tests conversion into TestNG in the Hadoop.

It seems that Hadoop and ZooKeeper are backing off from the whole TestNG thing, because the transition's overhead is too big to bear. Please contact me directly if you 

The general approach for the rest of Hadoop is to keep going with JUnit framework and solve our tagging needs with JUnit's test suite mechanism.

Considering the future merging of Avro to Hadoop and an obvious requirement of having a single test framework, I'd suggest to think of 'reverse' conversion of TestNG tests back to JUnit. I think a mere exclusion of the current patch won't work.


> Converting JUnit tests into TestNG controlled environment
> ---------------------------------------------------------
>
>                 Key: AVRO-26
>                 URL: https://issues.apache.org/jira/browse/AVRO-26
>             Project: Avro
>          Issue Type: Test
>          Components: java, python
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 1.0.0
>
>         Attachments: AVRO-26.patch.1, AVRO-26.patch.2, AVRO-26.patch.3, AVRO-26.patch.4, AVRO-26.patch.5, AVRO-26.patch.6, AVRO-26.sh, testng-5.9-jdk15.jar
>
>
> TestNG is a powerful test harness, which provides a lot of useful features like parallel test execution, test parametrization, and such.
> Avro uses JUnit environment instead which is more rigid and less efficient.
> I'd suggest to convert Avro's Junit based test infrastructure into TestNG controller environment, which will allow to achieve higher level of test execution control in the long run

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.