apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amberarrow <...@git.apache.org>
Subject [GitHub] incubator-apex-core pull request: Add doc section on running unit ...
Date Wed, 06 Apr 2016 16:38:18 GMT
Github user amberarrow commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/297#discussion_r58738987
  
    --- Diff: docs/apex_development_setup.md ---
    @@ -94,6 +94,38 @@ When the run completes successfully, you should see a new directory
named `myape
     
     The build should create the application package file `myapexapp/target/myapexapp-1.0-SNAPSHOT.apa`.
This application package can then be used to launch example application via **dtCli**, or
other visual management tools.  When running, this application will generate a stream of random
numbers and print them out, each prefixed by the string `hello world:`.
     
    +Running Unit Tests
    +----
    +To run unit tests on Linux or OSX, simply run the usual maven command, for example: `mvn
test`.
    +
    +On Windows, an additional file, `winutils.exe`, is required; download it from
    +<https://github.com/srccodes/hadoop-common-2.2.0-bin/archive/master.zip>
    +and unpack the archive to, say, `C:\hadoop`; this file should be present under
    +`hadoop-common-2.2.0-bin-master\bin` within it.
    +
    +You can now run unit tests from the command line by specifying the maven
    +property `hadoop.home.dir`, for example:
    +
    +    mvn -Dhadoop.home.dir=c:\hadoop\Software\hadoop-common-2.2.0-bin-master test
    +
    +or set the environment variable separately:
    +
    +    set HADOOP_HOME=c:\hadoop\Software\hadoop-common-2.2.0-bin-master
    +    mvn test
    +
    +To run unit tests from within your IDE, set the `HADOOP_HOME` environment
    --- End diff --
    
    Fixed


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message