You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Charles Benett <ch...@benett1.demon.co.uk> on 2001/04/30 10:10:40 UTC

Testing (was Re: Multiple blocks and use of assembly.xml)


Harmeet Bedi wrote:
> One valuable area contribution could be a strong regression test suite.
> There are 2 tests in the testing area, but they may not be sufficient.
> I think regression test suites and possibly merging the tests with build
> process would be valuable. That way even if there is a bad change(I realize
> this should not happen), everybody knows that upfront.
> I can write test using JUnit and I believe JUnit has an Ant binding.
> 
> Does the test suite sound like a good idea ? How about JUnit vs. Testlet ?

Yes. A good test system would be handy. What are the pros and cons of
JUnit and Testlet (avalon testlet, I presume). Peter can probably
enlighten us about Testlet. Lets get some ideas on the table before we
decide.

Charles

---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Re: Testing (was Re: Multiple blocks and use of assembly.xml)

Posted by Peter Donald <do...@apache.org>.
At 09:10  30/4/01 +0100, Charles Benett wrote:
>
>
>Harmeet Bedi wrote:
>> One valuable area contribution could be a strong regression test suite.
>> There are 2 tests in the testing area, but they may not be sufficient.
>> I think regression test suites and possibly merging the tests with build
>> process would be valuable. That way even if there is a bad change(I realize
>> this should not happen), everybody knows that upfront.
>> I can write test using JUnit and I believe JUnit has an Ant binding.
>> 
>> Does the test suite sound like a good idea ? How about JUnit vs. Testlet ?
>
>Yes. A good test system would be handy. What are the pros and cons of
>JUnit and Testlet (avalon testlet, I presume). Peter can probably
>enlighten us about Testlet. Lets get some ideas on the table before we
>decide.

Eithers good - recent junits have surpassed testlet capabilities. testlet
is a slightly cleaner design but that is largely irrelevent to you as a
*user*. When Ant2 comes to fruitation I hope testlet will be functionally
compatible again but I would say go with junit if you know it. If you don't
know junit then I would say use testlet .. but then again - I could be
biased ;)
Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org