crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CRUNCH-322) StoreLastEmitter Should Be Part of crunch-test
Date Thu, 16 Jan 2014 20:15:21 GMT

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

Josh Wills updated CRUNCH-322:
------------------------------

    Attachment: CRUNCH-322b.patch

Now w/checks for only-one element per emitter; pushing to master.

> StoreLastEmitter Should Be Part of crunch-test
> ----------------------------------------------
>
>                 Key: CRUNCH-322
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-322
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.9.0
>            Reporter: Jesse Anderson
>            Assignee: Josh Wills
>         Attachments: CRUNCH-322.patch, CRUNCH-322b.patch
>
>
> There aren't many ways of unit testing Crunch that are built in. I'm using crunch-core/src/test/java/org/apache/crunch/fn/StoreLastEmitter.java
to test outputs from DoFN classes.
> This class is not distributed with the crunch-core JAR because it is in the test package.
This class should be moved to the non-test source for crunch-test.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message