avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-26) Converting JUnit tests into TestNG controlled environment
Date Mon, 04 May 2009 17:16:30 GMT

     [ https://issues.apache.org/jira/browse/AVRO-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Konstantin Boudnik updated AVRO-26:

    Attachment: AVRO-26.patch

This patch includes the following modifications:
  - JUnit tests conversion to be naively executed by TestNG. This involves new annotations
and inter tests dependencies introduction
  - some of test files for schemata were renamed and affected Java and Python code has been
refactored accordingly 
  - build.xml file is modified to accommodate TestNG switch
  - import lists are optimized for all test classes for they included too much of unused imports
which made tests refactoring difficult
  - new library is added  to lib/testng-5.9-jdk15.jar

Tests invocation remain the same: it could be executed either through 'test' for all languages
or through 'test-java' for java. Interop test interfaces are remained as before too.

> 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
>         Attachments: AVRO-26.patch
> 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

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

View raw message