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 "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/07/17 23:51:04 UTC
[jira] [Comment Edited] (HADOOP-10854) unit tests for the shell
scripts
[ https://issues.apache.org/jira/browse/HADOOP-10854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14631968#comment-14631968 ]
Allen Wittenauer edited comment on HADOOP-10854 at 7/17/15 9:50 PM:
--------------------------------------------------------------------
-00:
* Initial version: directory layout, pom.xml changes for common
* a few bug fixes for things found along the way
* 30+ tests for some of hadoop-functions.sh
* requires bats installed
* optionally, perl + TAP::Harness + XML::Generator to convert TAP to JUnix XML for Jenkins' usage
To trigger:
mvn test -Pshelltest
(It does *not* honor -DskipTests, so you can run mvn test -Pshelltest -DskipTests to just run the shell tests. Running mvn test (no profile) will NOT trigger the shell tests.)
After discussing this was [~raviprak], it's probably better to do this in stages. So let's do this initial version to lay the ground work.
was (Author: aw):
-00:
* Initial version: directory layout, pom.xml changes for common
* 30+ tests for some of hadoop-functions.sh
* requires bats installed
* optionally, perl + TAP::Harness + XML::Generator to convert TAP to JUnix XML for Jenkins' usage
To trigger:
mvn test -Pshelltest
(It does *not* honor -DskipTests, so you can run mvn test -Pshelltest -DskipTests to just run the shell tests. Running mvn test (no profile) will NOT trigger the shell tests.)
After discussing this was [~raviprak], it's probably better to do this in stages. So let's do this initial version to lay the ground work.
> unit tests for the shell scripts
> --------------------------------
>
> Key: HADOOP-10854
> URL: https://issues.apache.org/jira/browse/HADOOP-10854
> Project: Hadoop Common
> Issue Type: Test
> Components: scripts
> Affects Versions: 3.0.0
> Reporter: Allen Wittenauer
> Labels: scripts
> Attachments: HADOOP-10854.00.patch
>
>
> With HADOOP-9902 moving a lot of the core functionality to functions, we should build some unit tests for them.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)