You can use JUnit for system tests like that, but it ends up being a
mess.  You would need a JUnit test that ran hadoop, ran any other
server pieces you needed, then you can use Selenium
http://seleniumhq.org/ for the browser side of the test.


On Tue, Feb 21, 2012 at 05:23, Dmitriy Ryaboy <[email protected]> wrote:
> That doesn't sound like a unit test. Unit tests test a unit of work -- a 
> class, a function. You want to involve everything from hdfs to the browser... 
> Sounds like some decomposition of the problem is in order.
>
> On Feb 20, 2012, at 4:59 PM, Russell Jurney <[email protected]> wrote:
>
>> I need to write unit tests that start with raw data on HDFS and plumb all 
>> the way through to a web browser.  Writing Java isn't desirable, so PigUnit 
>> isn't right.
>>
>> Anyone have any ideas?  I'd like it to be as simple as possible.
>>
>> Russell Jurney http://datasyndrome.com

Reply via email to