db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: Adding a new test
Date Thu, 02 Nov 2006 15:25:39 GMT
Knut Anders Hatlen wrote:
> Julius Stroffek <Julius.Stroffek@Sun.COM> writes:
> 
>> Hi All,
>>
>> I would like to create a new test to check a DERBY-1434. As I read
>> that the old harness framework is (or will be in a short time)
>> deprecated I decided to write a junit test. The test should check some
>> properties of DRDA communication protocol. However, the protocol tests
>> were not switched to junit yet. Should I than write an old harness
>> test for now? Thank you for an advice.
> 
> Hi Julo,
> 
> It is perfectly OK to add a new test case to the derbynet/testProtocol
> test. That test is actually an assertion based test which should be
> fairly easy to convert into JUnit later, and I don't think adding a
> new test case to it will slow down the transition to JUnit.

Sounds good, though if you have time looking at converting the existing 
test to JUnit would be beneficial for the community. Then you would be 
coming up to speed on the standard way rather than the old testing 
mechanism.

Dan.



Mime
View raw message