You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2012/07/27 08:45:34 UTC

[jira] [Updated] (CRUNCH-26) Make Scrunch tests suitable for continuous integration

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

Josh Wills updated CRUNCH-26:
-----------------------------

    Attachment: CRUNCH-26.patch

A patch to make Scrunch use the TemporaryPath code and remove all FileHelper references.

This required a couple of hacks, since Scala doesn't really have such a thing as public member variables, and the @Rule annotation requires them. I got this to work by defining a base java class for all of the scrunch IT tests, and having that base Java class define the @Rule-annotated TemporaryPath instance that the scrunch tests used. Not the prettiest thing, but it works for now, and we'll be able to clean it up a bit when JUnit 4.11 is released.
                
> Make Scrunch tests suitable for continuous integration
> ------------------------------------------------------
>
>                 Key: CRUNCH-26
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-26
>             Project: Crunch
>          Issue Type: Task
>          Components: Scrunch
>    Affects Versions: 0.3.0
>            Reporter: Josh Wills
>            Assignee: Josh Wills
>         Attachments: CRUNCH-26.patch
>
>
> The scrunch equivalent of the changes done to Crunch in CRUNCH-24.

--
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