pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Dai <da...@hortonworks.com>
Subject Re: Pig test package structure
Date Tue, 27 Mar 2012 18:47:26 GMT
I'd like to but it's a huge project. We need to figure out what each
test is doing and put them in the right package. We need to
split/merge lots of test, also there are many tests cross packages, we
need to figure a way to deal with it.


On Tue, Mar 27, 2012 at 11:33 AM, Bill Graham <billgraham@gmail.com> wrote:
> Hi,
> Is there a good reason why almost all pig tests live in org.apache.pig.test
> and not in the package of the class they're testing? This approach means
> that many methods need to be made public just for testing instead of
> package private. It also makes it harder to find tests in a package with
> 212 classes in it.
> What would people feel about changing this standard to put test classes in
> the package name of the class you're testing? It would be great to move
> classes to new packages, but then there's that whole breaking patches
> part...
> thanks,
> Bill

View raw message