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

[jira] Created: (HADOOP-6174) Create tests for scripts to verify basic user experience, i.e. version, etc.

Create tests for scripts to verify basic user experience, i.e. version, etc.
----------------------------------------------------------------------------

                 Key: HADOOP-6174
                 URL: https://issues.apache.org/jira/browse/HADOOP-6174
             Project: Hadoop Common
          Issue Type: Test
            Reporter: Konstantin Boudnik


As per HADOOP-6172 we need to have a set of scripts to verify the correctness of some very basic functionality accessible through bin/ scripts. 


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


[jira] Commented: (HADOOP-6174) Create tests for scripts to verify basic user experience, i.e. version, etc.

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765033#action_12765033 ] 

Steve Loughran commented on HADOOP-6174:
----------------------------------------

One way to do this is through antunit and then with ant tasks to <exec> the scripts. This test framework will push out results in the same XML format as junit XML, and let Ant handle the heavy lifting of starting processes, terminating them afterwards, etc. 

> Create tests for scripts to verify basic user experience, i.e. version, etc.
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-6174
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6174
>             Project: Hadoop Common
>          Issue Type: Test
>            Reporter: Konstantin Boudnik
>
> As per HADOOP-6172 we need to have a set of scripts to verify the correctness of some very basic functionality accessible through bin/ scripts. 

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


[jira] Commented: (HADOOP-6174) Create tests for scripts to verify basic user experience, i.e. version, etc.

Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765352#action_12765352 ] 

Konstantin Boudnik commented on HADOOP-6174:
--------------------------------------------

In fact we have TestCLI for this sort of things.  It already JUnit aware and you can simply write your tests in XM format which will be parsed and executed by TestCLI.

Also, this little framework is going to be ported to Common from HDFS at some point (see HADOOP-6222)


> Create tests for scripts to verify basic user experience, i.e. version, etc.
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-6174
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6174
>             Project: Hadoop Common
>          Issue Type: Test
>            Reporter: Konstantin Boudnik
>
> As per HADOOP-6172 we need to have a set of scripts to verify the correctness of some very basic functionality accessible through bin/ scripts. 

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


[jira] Commented: (HADOOP-6174) Create tests for scripts to verify basic user experience, i.e. version, etc.

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737717#action_12737717 ] 

Nigel Daley commented on HADOOP-6174:
-------------------------------------

Hopefully TestCLI can be enhanced for these.

> Create tests for scripts to verify basic user experience, i.e. version, etc.
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-6174
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6174
>             Project: Hadoop Common
>          Issue Type: Test
>            Reporter: Konstantin Boudnik
>
> As per HADOOP-6172 we need to have a set of scripts to verify the correctness of some very basic functionality accessible through bin/ scripts. 

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