tap for a string

16 views
Skip to first unread message

mbil...@twitter.com

unread,
Mar 18, 2015, 10:49:02 AM3/18/15
to cascadi...@googlegroups.com
Hi everyone.
I was trying to unit test my cascading source yesterday, and I found that adding java resources to my tests, then reading from them into a tap, added little value to my tests. Instead, what would have been most useful is a tap that is build straight from a String. What do you all think about this?
Max

Andre Kelpe

unread,
Mar 18, 2015, 11:36:51 AM3/18/15
to cascadi...@googlegroups.com
You could try out plunger, which is a testing framework for Cascading
from Hotels.com: https://github.com/HotelsDotCom/plunger

- Andre
> --
> You received this message because you are subscribed to the Google Groups
> "cascading-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cascading-use...@googlegroups.com.
> To post to this group, send email to cascadi...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cascading-user.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/cascading-user/37dcdfd4-9180-4b4c-89f5-d0c20c5f9f76%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
André Kelpe
an...@concurrentinc.com
http://concurrentinc.com

Ken Krugler

unread,
Mar 18, 2015, 12:35:16 PM3/18/15
to cascadi...@googlegroups.com
Hi Max,

In addition to Plunger, there's the InMemoryTap from cascading.utils that we use for similar purposes (testing of Flows).

Though it currently only exists for the Cascading local platform.

-- Ken



From: mbil...@twitter.com

Sent: March 18, 2015 7:49:01am PDT

To: cascadi...@googlegroups.com

Subject: tap for a string


Hi everyone.
I was trying to unit test my cascading source yesterday, and I found that adding java resources to my tests, then reading from them into a tap, added little value to my tests. Instead, what would have been most useful is a tap that is build straight from a String. What do you all think about this?
Max
--------------------------
Ken Krugler
custom big data solutions & training
Hadoop, Cascading, Cassandra & Solr





Reply all
Reply to author
Forward
0 new messages