ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: testcases in same dir?
Date Wed, 06 Mar 2002 12:45:16 GMT
Is there an issue where we are testing something protected or package level
and shouldn't be?

I typically place my test cases in the same package just for that very
reason, but then again, I don't write any code that uses package scoped
access and don't use protected that much either.

    Erik

----- Original Message -----
From: "Peter Donald" <peter@apache.org>
To: <ant-dev@jakarta.apache.org>
Sent: Wednesday, March 06, 2002 7:05 AM
Subject: testcases in same dir?


> Hi,
>
> Can someone give me the reason why ants testcases are all in the same
package
> as the components they test? Given that all of our tests are blackbox and
> most (all?) use the public APIs to perform tests this seems very oddd to
me.
>
> Is there a reason for this? Were they originally whitbox or accessing
> protected/package level classes/methods or something?
>
> --
> Cheers,
>
> Pete
>
> -----------------------------------------------------------
>  Don't take life too seriously --
>                           you'll never get out of it alive.
> -----------------------------------------------------------
>
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message