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

Vinod Kumar Vavilapalli updated HADOOP-2775:
--------------------------------------------

    Attachment: patch_unittesting.4

   *  Failing test cases now make the build fail. Total number of failures + 
errors is reported back as return code of run tests.
   * python.home or python version mismatch(currently supporting only 2.5.1) 
would now make ant test to report silently, but not fail, so that other contrib 
tests may continue. This execution path is not traced on hudson once python 
stuff is setup there.
   * At a suite level setUp is done through ModuleTestSuite.__init__. No 
changes here.
   * Moved testcases to src/contrib/hod/test/
   * Fixed some of the testcase reporting to make it look better.

> [HOD] Put in place unit test framework for HOD
> ----------------------------------------------
>
>                 Key: HADOOP-2775
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2775
>             Project: Hadoop Core
>          Issue Type: Test
>          Components: contrib/hod
>    Affects Versions: 0.16.0
>            Reporter: Hemanth Yamijala
>            Assignee: Vinod Kumar Vavilapalli
>             Fix For: 0.17.0
>
>         Attachments: patch_unittesting, patch_unittesting.1, 
> patch_unittesting.2, patch_unittesting.3, patch_unittesting.4
>
>
> HOD does not have any unit tests in place currently. This issue is to decide 
> on a framework that would be effective for our python code base. Something on 
> the lines of pyUnit would be good. The fix should put in place any 
> dependencies needed for running the tests, and should also define some tests 
> that demonstrate how to write further tests. We would not be defining a 
> complete unit test suite for the entire code base right now, but would 
> incrementatlly add tests as changes are made.

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

Reply via email to