You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "André Kelpe (Created JIRA)" <ji...@apache.org> on 2012/01/26 13:54:41 UTC

[jira] [Created] (GIRAPH-131) enable creation of test-jars to simplify testing in downstream projects

enable creation of test-jars to simplify testing in downstream projects
-----------------------------------------------------------------------

                 Key: GIRAPH-131
                 URL: https://issues.apache.org/jira/browse/GIRAPH-131
             Project: Giraph
          Issue Type: Improvement
            Reporter: André Kelpe
            Priority: Minor
         Attachments: GIRAPH-131.patch

Attached patch enables the creation of test-jars, which are the tests packaged in a separate jar file. This makes it possible to use the super-useful test infrastructure in MockUtils in downstream projects. If you add the patch, you will get a ${giraph.version}-tests.jar, which can be used for downstream testing like this:

    <dependency>
      <groupId>org.apache.giraph</groupId>
      <artifactId>giraph</artifactId>
      <version>${giraph.version}</version>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>

P.S.: The patch also resets the version to 0.1-SNAPSHOT as discussed in GIRAPH-129

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (GIRAPH-131) enable creation of test-jars to simplify testing in downstream projects

Posted by "André Kelpe (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199621#comment-13199621 ] 

André Kelpe commented on GIRAPH-131:
------------------------------------

Eric, good catch. I totally overlooked that, this should really be added.
                
> enable creation of test-jars to simplify testing in downstream projects
> -----------------------------------------------------------------------
>
>                 Key: GIRAPH-131
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-131
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: André Kelpe
>            Assignee: André Kelpe
>            Priority: Minor
>             Fix For: 0.1.0
>
>         Attachments: GIRAPH-131-source-test-jar.patch, GIRAPH-131.patch
>
>
> Attached patch enables the creation of test-jars, which are the tests packaged in a separate jar file. This makes it possible to use the super-useful test infrastructure in MockUtils in downstream projects. If you add the patch, you will get a ${giraph.version}-tests.jar, which can be used for downstream testing like this:
>     <dependency>
>       <groupId>org.apache.giraph</groupId>
>       <artifactId>giraph</artifactId>
>       <version>${giraph.version}</version>
>       <type>test-jar</type>
>       <scope>test</scope>
>     </dependency>
> P.S.: The patch also resets the version to 0.1-SNAPSHOT as discussed in GIRAPH-129

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (GIRAPH-131) enable creation of test-jars to simplify testing in downstream projects

Posted by "Eric Charles (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199583#comment-13199583 ] 

Eric Charles commented on GIRAPH-131:
-------------------------------------

Hi Jakob,
Andre's patch works great :)
I just wanted to complete it by enabling the presence of giraph-0.1-SNAPSHOT-test-sources.jar.
Without my patch, you will get the giraph-0.1-SNAPSHOT-tests.jar, and not the giraph-0.1-SNAPSHOT-test-*sources*.jar
Maybe I should have opened another JIRA for this, but I tough this was not really needed due to the very small change, and also because it is in a way related to this GIRAPH-131.
Just tell me if you prefer to manage this in a separate JIRA.
Thx,
Eric
                
> enable creation of test-jars to simplify testing in downstream projects
> -----------------------------------------------------------------------
>
>                 Key: GIRAPH-131
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-131
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: André Kelpe
>            Assignee: André Kelpe
>            Priority: Minor
>             Fix For: 0.1.0
>
>         Attachments: GIRAPH-131-source-test-jar.patch, GIRAPH-131.patch
>
>
> Attached patch enables the creation of test-jars, which are the tests packaged in a separate jar file. This makes it possible to use the super-useful test infrastructure in MockUtils in downstream projects. If you add the patch, you will get a ${giraph.version}-tests.jar, which can be used for downstream testing like this:
>     <dependency>
>       <groupId>org.apache.giraph</groupId>
>       <artifactId>giraph</artifactId>
>       <version>${giraph.version}</version>
>       <type>test-jar</type>
>       <scope>test</scope>
>     </dependency>
> P.S.: The patch also resets the version to 0.1-SNAPSHOT as discussed in GIRAPH-129

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (GIRAPH-131) enable creation of test-jars to simplify testing in downstream projects

Posted by "André Kelpe (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GIRAPH-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

André Kelpe updated GIRAPH-131:
-------------------------------

    Attachment: GIRAPH-131.patch
    
> enable creation of test-jars to simplify testing in downstream projects
> -----------------------------------------------------------------------
>
>                 Key: GIRAPH-131
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-131
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: André Kelpe
>            Priority: Minor
>         Attachments: GIRAPH-131.patch
>
>
> Attached patch enables the creation of test-jars, which are the tests packaged in a separate jar file. This makes it possible to use the super-useful test infrastructure in MockUtils in downstream projects. If you add the patch, you will get a ${giraph.version}-tests.jar, which can be used for downstream testing like this:
>     <dependency>
>       <groupId>org.apache.giraph</groupId>
>       <artifactId>giraph</artifactId>
>       <version>${giraph.version}</version>
>       <type>test-jar</type>
>       <scope>test</scope>
>     </dependency>
> P.S.: The patch also resets the version to 0.1-SNAPSHOT as discussed in GIRAPH-129

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (GIRAPH-131) enable creation of test-jars to simplify testing in downstream projects

Posted by "Eric Charles (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GIRAPH-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Charles updated GIRAPH-131:
--------------------------------

    Attachment: GIRAPH-131-source-test-jar.patch

GIRAPH-131-source-test-jar.patch allows the deployment of the test-jar sources (see also GIRAPH-129).

No much, but can be useful to run tests from a 3rd party project and debug in the giraph sources.
                
> enable creation of test-jars to simplify testing in downstream projects
> -----------------------------------------------------------------------
>
>                 Key: GIRAPH-131
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-131
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: André Kelpe
>            Assignee: André Kelpe
>            Priority: Minor
>             Fix For: 0.1.0
>
>         Attachments: GIRAPH-131-source-test-jar.patch, GIRAPH-131.patch
>
>
> Attached patch enables the creation of test-jars, which are the tests packaged in a separate jar file. This makes it possible to use the super-useful test infrastructure in MockUtils in downstream projects. If you add the patch, you will get a ${giraph.version}-tests.jar, which can be used for downstream testing like this:
>     <dependency>
>       <groupId>org.apache.giraph</groupId>
>       <artifactId>giraph</artifactId>
>       <version>${giraph.version}</version>
>       <type>test-jar</type>
>       <scope>test</scope>
>     </dependency>
> P.S.: The patch also resets the version to 0.1-SNAPSHOT as discussed in GIRAPH-129

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (GIRAPH-131) enable creation of test-jars to simplify testing in downstream projects

Posted by "Jakob Homan (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GIRAPH-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Homan resolved GIRAPH-131.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.1.0
         Assignee: André Kelpe

I've committed this.  Resolving as fixed.  Thanks, André!
                
> enable creation of test-jars to simplify testing in downstream projects
> -----------------------------------------------------------------------
>
>                 Key: GIRAPH-131
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-131
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: André Kelpe
>            Assignee: André Kelpe
>            Priority: Minor
>             Fix For: 0.1.0
>
>         Attachments: GIRAPH-131.patch
>
>
> Attached patch enables the creation of test-jars, which are the tests packaged in a separate jar file. This makes it possible to use the super-useful test infrastructure in MockUtils in downstream projects. If you add the patch, you will get a ${giraph.version}-tests.jar, which can be used for downstream testing like this:
>     <dependency>
>       <groupId>org.apache.giraph</groupId>
>       <artifactId>giraph</artifactId>
>       <version>${giraph.version}</version>
>       <type>test-jar</type>
>       <scope>test</scope>
>     </dependency>
> P.S.: The patch also resets the version to 0.1-SNAPSHOT as discussed in GIRAPH-129

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (GIRAPH-131) enable creation of test-jars to simplify testing in downstream projects

Posted by "Jakob Homan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199942#comment-13199942 ] 

Jakob Homan commented on GIRAPH-131:
------------------------------------

Great.  Yes, please open a new JIRA.  Usually it's one patch per JIRA, just for attribution and bookkeeping purposes.  Thanks.
                
> enable creation of test-jars to simplify testing in downstream projects
> -----------------------------------------------------------------------
>
>                 Key: GIRAPH-131
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-131
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: André Kelpe
>            Assignee: André Kelpe
>            Priority: Minor
>             Fix For: 0.1.0
>
>         Attachments: GIRAPH-131-source-test-jar.patch, GIRAPH-131.patch
>
>
> Attached patch enables the creation of test-jars, which are the tests packaged in a separate jar file. This makes it possible to use the super-useful test infrastructure in MockUtils in downstream projects. If you add the patch, you will get a ${giraph.version}-tests.jar, which can be used for downstream testing like this:
>     <dependency>
>       <groupId>org.apache.giraph</groupId>
>       <artifactId>giraph</artifactId>
>       <version>${giraph.version}</version>
>       <type>test-jar</type>
>       <scope>test</scope>
>     </dependency>
> P.S.: The patch also resets the version to 0.1-SNAPSHOT as discussed in GIRAPH-129

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (GIRAPH-131) enable creation of test-jars to simplify testing in downstream projects

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195294#comment-13195294 ] 

Hudson commented on GIRAPH-131:
-------------------------------

Integrated in Giraph-trunk-Commit #68 (See [https://builds.apache.org/job/Giraph-trunk-Commit/68/])
    GIRAPH-131. enable creation of test-jars to simplify testing in downstream projects.  Contributed by André Kelpe.

jghoman : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1236935
Files : 
* /incubator/giraph/trunk/CHANGELOG
* /incubator/giraph/trunk/pom.xml

                
> enable creation of test-jars to simplify testing in downstream projects
> -----------------------------------------------------------------------
>
>                 Key: GIRAPH-131
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-131
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: André Kelpe
>            Assignee: André Kelpe
>            Priority: Minor
>             Fix For: 0.1.0
>
>         Attachments: GIRAPH-131.patch
>
>
> Attached patch enables the creation of test-jars, which are the tests packaged in a separate jar file. This makes it possible to use the super-useful test infrastructure in MockUtils in downstream projects. If you add the patch, you will get a ${giraph.version}-tests.jar, which can be used for downstream testing like this:
>     <dependency>
>       <groupId>org.apache.giraph</groupId>
>       <artifactId>giraph</artifactId>
>       <version>${giraph.version}</version>
>       <type>test-jar</type>
>       <scope>test</scope>
>     </dependency>
> P.S.: The patch also resets the version to 0.1-SNAPSHOT as discussed in GIRAPH-129

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (GIRAPH-131) enable creation of test-jars to simplify testing in downstream projects

Posted by "Jakob Homan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195258#comment-13195258 ] 

Jakob Homan commented on GIRAPH-131:
------------------------------------

+1.  Tested patch and verified all the tests and infrastructure are now in the new jar.  Adding -SNAPSHOT makes a few more files break the 100-char path limit and we get more warnings, but this is expected.
                
> enable creation of test-jars to simplify testing in downstream projects
> -----------------------------------------------------------------------
>
>                 Key: GIRAPH-131
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-131
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: André Kelpe
>            Priority: Minor
>         Attachments: GIRAPH-131.patch
>
>
> Attached patch enables the creation of test-jars, which are the tests packaged in a separate jar file. This makes it possible to use the super-useful test infrastructure in MockUtils in downstream projects. If you add the patch, you will get a ${giraph.version}-tests.jar, which can be used for downstream testing like this:
>     <dependency>
>       <groupId>org.apache.giraph</groupId>
>       <artifactId>giraph</artifactId>
>       <version>${giraph.version}</version>
>       <type>test-jar</type>
>       <scope>test</scope>
>     </dependency>
> P.S.: The patch also resets the version to 0.1-SNAPSHOT as discussed in GIRAPH-129

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (GIRAPH-131) enable creation of test-jars to simplify testing in downstream projects

Posted by "Jakob Homan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198953#comment-13198953 ] 

Jakob Homan commented on GIRAPH-131:
------------------------------------

Hey Eric- This issue's been resolved with Andre's patch.  Does it not work for you?
                
> enable creation of test-jars to simplify testing in downstream projects
> -----------------------------------------------------------------------
>
>                 Key: GIRAPH-131
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-131
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: André Kelpe
>            Assignee: André Kelpe
>            Priority: Minor
>             Fix For: 0.1.0
>
>         Attachments: GIRAPH-131-source-test-jar.patch, GIRAPH-131.patch
>
>
> Attached patch enables the creation of test-jars, which are the tests packaged in a separate jar file. This makes it possible to use the super-useful test infrastructure in MockUtils in downstream projects. If you add the patch, you will get a ${giraph.version}-tests.jar, which can be used for downstream testing like this:
>     <dependency>
>       <groupId>org.apache.giraph</groupId>
>       <artifactId>giraph</artifactId>
>       <version>${giraph.version}</version>
>       <type>test-jar</type>
>       <scope>test</scope>
>     </dependency>
> P.S.: The patch also resets the version to 0.1-SNAPSHOT as discussed in GIRAPH-129

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira