Yes it was started with 0.7 and improved for 0.8. It is based on GruntParser and PigServer interfaces which did not change too much I think and it is rather simple overall.
We did a recent cleanup<https://issues.apache.org/jira/browse/PIG-1600?focusedCommentId=12922785&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12922785> and there is some XML<http://svn.apache.org/viewvc/pig/branches/branch-0.8/src/docs/src/documentation/content/xdocs/pigunit.xml?view=markup>documentation. Feel free to post your solution. We can work and see how we could integrate it or if it is better. Romain On Wed, Oct 20, 2010 at 1:56 PM, Dave Wellman <[email protected]> wrote: > Excellent suggestion Dmitriy, Thanks. > > On Oct 20, 2010, at 11:58 AM, Dmitriy Ryaboy wrote: > > > At least the earlier versions of the PigUnit patch should work with 0.7 > > > > Regardless, Dave, please post your contribution to the JIRA, or better > > yet see if it can be integrated with PigUnit if it and your work are > > complementary. > > > > -D > > > > On Wed, Oct 20, 2010 at 10:27 AM, Josh Devins <[email protected]> > wrote: > >> No idea, haven't used it myself yet. I just remember seeing the Jira > issue > >> go by. There's patches attached to the issue so it might be > back-portable. > >> > >> But either way, please share! > >> > >> Josh > >> > >> > >> On 20 October 2010 18:46, Dave Wellman <[email protected]> wrote: > >> > >>> Can it patch to Pig 6 & Pig 7 or is it a Pig 8 solution? > >>> > >>> On Oct 20, 2010, at 10:22 AM, Josh Devins wrote: > >>> > >>>> You might want to also have a look at Pig trunk/0.8.0 since there's > >>> already > >>>> some work been done on this topic. > >>>> > >>>> https://issues.apache.org/jira/browse/PIG-1404 > >>>> > >>>> Cheers, > >>>> > >>>> Josh > >>>> > >>>> > >>>> On 20 October 2010 16:58, Dave Wellman <[email protected]> wrote: > >>>> > >>>>> All, > >>>>> > >>>>> I have a solution for writing unit test in Java to test pig scripts > >>>>> including stats and output if anyone is interested. > >>> > >>> > >> > >
